Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00177/0.002867, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002539, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9055/0.9055, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1438/1.049, allocations: 49.5 MB / 220.7 MB, free: 1.348 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 222 MB, free: 20 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.857e-05, allocations: 2.312 kB / 222 MB, free: 16 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.0121/0.01212, allocations: 9.427 MB / 231.5 MB, free: 6.535 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006472/0.01859, allocations: 3.553 MB / 235 MB, free: 2.969 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007981/0.01939, allocations: 51.62 kB / 235.1 MB, free: 2.918 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.02056, allocations: 0.6792 MB / 235.7 MB, free: 2.234 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.02172, allocations: 0.9119 MB / 236.6 MB, free: 1.316 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.02229, allocations: 459.1 kB / 237.1 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.02403, allocations: 2.789 MB / 239.9 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008392/0.02487, allocations: 1.057 MB / 240.9 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.02654, allocations: 2.179 MB / 243.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.02759, allocations: 1.337 MB / 244.5 MB, free: 9.406 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.02783, allocations: 296 kB / 244.7 MB, free: 9.117 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006167/0.02844, allocations: 0.5268 MB / 245.3 MB, free: 8.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005148/0.02896, allocations: 0.8767 MB / 246.2 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005883/0.02955, allocations: 0.7991 MB / 246.9 MB, free: 6.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.03126, allocations: 2.285 MB / 249.2 MB, free: 4.617 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.03127, allocations: 3.938 kB / 249.2 MB, free: 4.613 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.03127, allocations: 0 / 249.2 MB, free: 4.613 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.03129, allocations: 4 kB / 249.2 MB, free: 4.609 MB / 250.7 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.00283/0.03412, allocations: 3.464 MB / 252.7 MB, free: 1.098 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.03415, allocations: 12.03 kB / 252.7 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005639/0.03471, allocations: 473.6 kB / 253.2 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.03588, allocations: 1.104 MB / 254.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.133e-05/0.03597, allocations: 156.4 kB / 254.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.03616, allocations: 204.3 kB / 254.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.03772, allocations: 1.57 MB / 256.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.03776, allocations: 11.94 kB / 256.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.03788, allocations: 84 kB / 256.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-05/0.03795, allocations: 95.88 kB / 256.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008042/0.03876, allocations: 0.5983 MB / 257 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0047/0.04346, allocations: 4.89 MB / 261.9 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009298/0.04439, allocations: 0.7225 MB / 262.6 MB, free: 6.828 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/0.04497, allocations: 495.3 kB / 263.1 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.04508, allocations: 40.98 kB / 263.1 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.04511, allocations: 43.56 kB / 263.2 MB, free: 6.254 MB / 266.7 MB Notification: Performance of pre-optimization done (n=116): time 2.204e-06/0.04511, allocations: 8 kB / 263.2 MB, free: 6.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004201/0.04931, allocations: 2.754 MB / 265.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.04934, allocations: 72.66 kB / 266 MB, free: 3.363 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008982/0.05024, allocations: 1.398 MB / 267.4 MB, free: 1.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.0503, allocations: 49.7 kB / 267.4 MB, free: 1.902 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.05065, allocations: 0.8467 MB / 268.3 MB, free: 1.043 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.05088, allocations: 479.8 kB / 268.8 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.05111, allocations: 223.5 kB / 269 MB, free: 352 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.05122, allocations: 369.8 kB / 269.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.05145, allocations: 166.8 kB / 269.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.05178, allocations: 413.9 kB / 269.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006529/0.05243, allocations: 0.7343 MB / 270.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.05243, allocations: 4 kB / 270.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001328/0.05376, allocations: 1.066 MB / 271.7 MB, free: 13.4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.05378, allocations: 8 kB / 271.7 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.05379, allocations: 4 kB / 271.7 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009871/0.05477, allocations: 0.5341 MB / 272.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.05537, allocations: 279.6 kB / 272.5 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.05908, allocations: 4.633 MB / 277.2 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.05947, allocations: 39.98 kB / 277.2 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/0.05955, allocations: 43.98 kB / 277.3 MB, free: 7.684 MB / 282.7 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%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003413/0.05989, allocations: 196.5 kB / 277.4 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.0601, allocations: 155.8 kB / 277.6 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.06144, allocations: 0.9925 MB / 278.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.06146, allocations: 15.98 kB / 278.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.06147, allocations: 8 kB / 278.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.06148, allocations: 3.984 kB / 278.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.06422, allocations: 2.263 MB / 280.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.06422, allocations: 0 / 280.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006464/0.06487, allocations: 219.7 kB / 281.1 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.06517, allocations: 238.7 kB / 281.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000871/0.06604, allocations: 489.2 kB / 281.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.0661, allocations: 35.97 kB / 281.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09721/0.1633, allocations: 5.373 MB / 287.2 MB, free: 43.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.1633, allocations: 3.062 kB / 287.2 MB, free: 43.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.1656, allocations: 1.354 MB / 288.6 MB, free: 43.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/0.1659, allocations: 32.8 kB / 288.6 MB, free: 43.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.1663, allocations: 47.53 kB / 288.6 MB, free: 43.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/0.1666, allocations: 105.6 kB / 288.7 MB, free: 43.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.003e-05/0.1667, allocations: 29.41 kB / 288.8 MB, free: 43.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001078/0.1678, allocations: 0.6669 MB / 289.4 MB, free: 43.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1678, allocations: 0.8438 kB / 289.4 MB, free: 43.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001626/0.1694, allocations: 0.5025 MB / 289.9 MB, free: 43.42 MB / 282.7 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.001413/0.1708, allocations: 0.577 MB / 290.5 MB, free: 43.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.1729, allocations: 1.185 MB / 291.7 MB, free: 42.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.905e-05/0.173, allocations: 34.39 kB / 291.7 MB, free: 42.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.1742, allocations: 0.9813 MB / 292.7 MB, free: 42.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.1763, allocations: 3.484 MB / 296.2 MB, free: 38.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.1921, allocations: 4.138 MB / 300.3 MB, free: 37.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/0.1928, allocations: 0.5836 MB / 300.9 MB, free: 37.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000878/0.1937, allocations: 210.8 kB / 301.1 MB, free: 37.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006532/0.1944, allocations: 390.9 kB / 301.5 MB, free: 36.98 MB / 282.7 MB Notification: Performance of SimCode: time 1.643e-06/0.1944, allocations: 3.281 kB / 301.5 MB, free: 36.98 MB / 282.7 MB Notification: Performance of Templates: time 0.03828/0.2326, allocations: 29.75 MB / 331.3 MB, free: 13.26 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_withLosses/AIMC_withLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6151583660393953]