Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 88.48 kB / 20.95 MB, free: 472 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002257/0.002257, allocations: 153.2 kB / 24.25 MB, free: 3.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 173.3 MB / 200.8 MB, free: 12.74 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 267.3 MB, free: 10.16 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.506e-05, allocations: 6.25 kB / 267.4 MB, free: 10.16 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01245/0.01249, allocations: 8.574 MB / 275.9 MB, free: 1.543 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.006743/0.01923, allocations: 3.366 MB / 279.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.02043, allocations: 63.62 kB / 279.4 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.0224, allocations: 0.6636 MB / 280 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.02486, allocations: 0.9121 MB / 280.9 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.02601, allocations: 467 kB / 281.4 MB, free: 12.06 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00328/0.02929, allocations: 2.735 MB / 284.1 MB, free: 9.309 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.03091, allocations: 1.073 MB / 285.2 MB, free: 8.176 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.03333, allocations: 1.754 MB / 287 MB, free: 6.418 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.03539, allocations: 1.309 MB / 288.3 MB, free: 5.105 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004459/0.03583, allocations: 304 kB / 288.6 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.0369, allocations: 0.554 MB / 289.1 MB, free: 4.254 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.03808, allocations: 1.067 MB / 290.2 MB, free: 3.184 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.03965, allocations: 0.9897 MB / 291.2 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006962/0.04662, allocations: 4.319 MB / 295.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.04662, allocations: 0 / 295.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.04662, allocations: 0 / 295.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.497e-05/0.04667, allocations: 0 / 295.5 MB, free: 13.86 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008934/0.0556, allocations: 3.138 MB / 298.6 MB, free: 10.67 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.05565, allocations: 12.92 kB / 298.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.05734, allocations: 0.5029 MB / 299.1 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004855/0.06219, allocations: 1.692 MB / 300.8 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.0624, allocations: 148.4 kB / 301 MB, free: 8.273 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005429/0.06294, allocations: 204.3 kB / 301.2 MB, free: 8.074 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007359/0.0703, allocations: 2.802 MB / 304 MB, free: 5.168 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-05/0.07038, allocations: 3.938 kB / 304 MB, free: 5.164 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003084/0.07069, allocations: 84 kB / 304.1 MB, free: 5.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.07088, allocations: 91.92 kB / 304.2 MB, free: 4.992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006479/0.07736, allocations: 2.28 MB / 306.4 MB, free: 2.711 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1234/0.2008, allocations: 7.175 MB / 313.6 MB, free: 44.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.2035, allocations: 1.323 MB / 314.9 MB, free: 44.43 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/0.2054, allocations: 1.014 MB / 315.9 MB, free: 44.13 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.2056, allocations: 56.98 kB / 316 MB, free: 44.13 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.2056, allocations: 45.86 kB / 316 MB, free: 44.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=116): time 3.557e-06/0.2056, allocations: 0 / 316 MB, free: 44.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=132): time 0.01234/0.218, allocations: 6.138 MB / 322.2 MB, free: 41.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.218, allocations: 64 kB / 322.2 MB, free: 41.84 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.22, allocations: 2.025 MB / 324.3 MB, free: 40.92 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-05/0.2201, allocations: 49.08 kB / 324.3 MB, free: 40.87 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/0.2206, allocations: 1.13 MB / 325.4 MB, free: 40 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.2208, allocations: 476.2 kB / 325.9 MB, free: 39.65 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.2212, allocations: 246.5 kB / 326.2 MB, free: 39.51 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.2213, allocations: 357.3 kB / 326.5 MB, free: 39.17 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.2223, allocations: 0.7602 MB / 327.3 MB, free: 38.79 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.2234, allocations: 1.009 MB / 328.3 MB, free: 38.05 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.2257, allocations: 1.862 MB / 330.1 MB, free: 36.1 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.2257, allocations: 4 kB / 330.1 MB, free: 36.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004154/0.2298, allocations: 2.8 MB / 332.9 MB, free: 33.28 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2298, allocations: 4 kB / 332.9 MB, free: 33.28 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.2299, allocations: 8 kB / 333 MB, free: 33.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/0.2322, allocations: 0.9719 MB / 333.9 MB, free: 32.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.2332, allocations: 271.6 kB / 334.2 MB, free: 32.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009267/0.2425, allocations: 9.279 MB / 343.5 MB, free: 22.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.2437, allocations: 95.72 kB / 343.6 MB, free: 22.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.2438, allocations: 55.98 kB / 343.6 MB, free: 22.43 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001043/0.2449, allocations: 0.7375 MB / 344.4 MB, free: 21.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.2453, allocations: 244.6 kB / 344.6 MB, free: 21.44 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003866/0.2491, allocations: 2.462 MB / 347.1 MB, free: 18.96 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.2491, allocations: 12 kB / 347.1 MB, free: 18.95 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.2492, allocations: 11.94 kB / 347.1 MB, free: 18.94 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.2492, allocations: 7.969 kB / 347.1 MB, free: 18.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006979/0.2561, allocations: 4.368 MB / 351.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.2562, allocations: 7.938 kB / 351.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009907/0.2571, allocations: 219.9 kB / 351.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/0.259, allocations: 0.7258 MB / 352.4 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/0.2591, allocations: 34.39 kB / 352.4 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006933/0.266, allocations: 8.294 MB / 360.7 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.266, allocations: 4.031 kB / 360.7 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005023/0.2711, allocations: 3.547 MB / 364.3 MB, free: 1.387 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008934/0.2719, allocations: 361 kB / 364.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.2722, allocations: 27.94 kB / 364.7 MB, free: 1.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009252/0.2731, allocations: 87.89 kB / 364.7 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/0.2733, allocations: 112.7 kB / 364.9 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.701e-05/0.2734, allocations: 39.98 kB / 364.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001772/0.2752, allocations: 1.407 MB / 366.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2752, allocations: 0 / 366.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001844/0.277, allocations: 0.5214 MB / 366.8 MB, free: 14.86 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001767/0.2788, allocations: 493.8 kB / 367.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.004604/0.2834, allocations: 2.315 MB / 369.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.2834, allocations: 4 kB / 369.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00276/0.2862, allocations: 1.457 MB / 371.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.2881, allocations: 412.8 kB / 371.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008207/0.2964, allocations: 5.069 MB / 376.6 MB, free: 5.211 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.298, allocations: 1.376 MB / 377.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001049/0.2991, allocations: 378.6 kB / 378.3 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/0.2995, allocations: 124.5 kB / 378.4 MB, free: 3.297 MB / 302.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2995, allocations: 3.938 kB / 378.4 MB, free: 3.293 MB / 302.1 MB Notification: Performance of Templates: time 0.05343/0.3529, allocations: 29.47 MB / 407.9 MB, free: 6.145 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.261719293892384]