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.001557/0.001557, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001211/0.001211, allocations: 161.2 kB / 25.6 MB, free: 8.895 MB / 18.57 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 1.022/1.022, allocations: 158.6 MB / 187.5 MB, free: 2.816 MB / 170.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.674e-06/1.674e-06, allocations: 0 / 251.5 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.684e-05, allocations: 6.25 kB / 251.5 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.009599/0.009626, allocations: 9.305 MB / 260.8 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006474/0.0161, allocations: 3.417 MB / 264.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.01782, allocations: 55.62 kB / 264.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.01976, allocations: 0.6678 MB / 265 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.0225, allocations: 0.9081 MB / 265.9 MB, free: 8.785 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.024, allocations: 471 kB / 266.3 MB, free: 8.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003055/0.02706, allocations: 2.766 MB / 269.1 MB, free: 5.551 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.02851, allocations: 1.034 MB / 270.1 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.03156, allocations: 2 MB / 272.1 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.03363, allocations: 1.344 MB / 273.5 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004578/0.03408, allocations: 296 kB / 273.8 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009158/0.035, allocations: 0.5306 MB / 274.3 MB, free: 300 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006778/0.03568, allocations: 1.04 MB / 275.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009484/0.03663, allocations: 0.9703 MB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.03918, allocations: 2.437 MB / 278.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.03918, allocations: 0 / 278.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.03918, allocations: 0 / 278.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.946e-05/0.03923, allocations: 4 kB / 278.7 MB, free: 11.83 MB / 266.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.003981/0.04321, allocations: 3.211 MB / 282 MB, free: 8.555 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.04326, allocations: 11.98 kB / 282 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006821/0.04394, allocations: 0.4911 MB / 282.5 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.04536, allocations: 1.372 MB / 283.8 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.013e-05/0.04545, allocations: 152.4 kB / 284 MB, free: 6.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.04566, allocations: 212.2 kB / 284.2 MB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.04745, allocations: 1.54 MB / 285.7 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.04749, allocations: 8 kB / 285.7 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.0476, allocations: 79.98 kB / 285.8 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.495e-05/0.04769, allocations: 99.92 kB / 285.9 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/0.0486, allocations: 0.6043 MB / 286.5 MB, free: 3.836 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006882/0.05548, allocations: 6.066 MB / 292.6 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.05655, allocations: 0.7156 MB / 293.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006789/0.05723, allocations: 0.5138 MB / 293.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.05738, allocations: 56.91 kB / 293.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.05742, allocations: 46.39 kB / 293.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 3.497e-06/0.05742, allocations: 0 / 293.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.004983/0.0624, allocations: 2.859 MB / 296.8 MB, free: 9.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.06244, allocations: 68.66 kB / 296.8 MB, free: 9.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.06368, allocations: 1.523 MB / 298.4 MB, free: 7.707 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6e-05/0.06374, allocations: 45.7 kB / 298.4 MB, free: 7.656 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006761/0.06442, allocations: 1.27 MB / 299.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.0647, allocations: 483.9 kB / 300.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.06497, allocations: 261 kB / 300.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.06515, allocations: 0.5393 MB / 300.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.0654, allocations: 187.8 kB / 301.1 MB, free: 4.902 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.06584, allocations: 0.5273 MB / 301.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.06696, allocations: 0.8091 MB / 302.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/0.06696, allocations: 4 kB / 302.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00192/0.06888, allocations: 1.319 MB / 303.8 MB, free: 1.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.06891, allocations: 12.61 kB / 303.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.06893, allocations: 12 kB / 303.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.07009, allocations: 0.5406 MB / 304.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.07063, allocations: 243.6 kB / 304.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005458/0.07609, allocations: 5.994 MB / 310.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.07715, allocations: 44.02 kB / 310.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/0.07724, allocations: 43.98 kB / 310.7 MB, free: 10.86 MB / 298.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.0006602/0.0779, allocations: 224.3 kB / 310.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.07821, allocations: 246.6 kB / 311.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.07981, allocations: 1.171 MB / 312.3 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/0.07983, allocations: 12 kB / 312.3 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.07984, allocations: 8 kB / 312.3 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.07985, allocations: 7.984 kB / 312.3 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006075/0.08593, allocations: 2.61 MB / 314.9 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/0.08594, allocations: 0 / 314.9 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000793/0.08673, allocations: 179.8 kB / 315.1 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.08824, allocations: 418.3 kB / 315.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/0.08838, allocations: 39.97 kB / 315.6 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006991/0.09537, allocations: 7.197 MB / 322.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.09537, allocations: 7.938 kB / 322.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/0.09868, allocations: 1.593 MB / 324.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008482/0.09953, allocations: 306.5 kB / 324.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.09969, allocations: 31.98 kB / 324.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.1001, allocations: 39.98 kB / 324.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.1003, allocations: 108.8 kB / 324.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.506e-05/0.1004, allocations: 27.98 kB / 324.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009496/0.1014, allocations: 0.8401 MB / 325.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1014, allocations: 0 / 325.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001377/0.1027, allocations: 0.5038 MB / 326.2 MB, free: 10.81 MB / 314.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.0008952/0.1036, allocations: 450 kB / 326.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.1053, allocations: 1.36 MB / 328 MB, free: 9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1053, allocations: 0 / 328 MB, free: 9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.1066, allocations: 1.122 MB / 329.1 MB, free: 7.816 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009393/0.1075, allocations: 405.5 kB / 329.5 MB, free: 7.418 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/0.1132, allocations: 4.164 MB / 333.7 MB, free: 3.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007051/0.1139, allocations: 0.6402 MB / 334.3 MB, free: 2.512 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006918/0.1146, allocations: 213.3 kB / 334.5 MB, free: 2.297 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006664/0.1152, allocations: 430 kB / 334.9 MB, free: 1.875 MB / 314.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1152, allocations: 4 kB / 334.9 MB, free: 1.871 MB / 314.7 MB Notification: Performance of Templates: time 0.1542/0.2694, allocations: 28.62 MB / 363.6 MB, free: 90.31 MB / 330.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4165778127498925]