Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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.001371/0.001371, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.001382/0.001382, allocations: 139.5 kB / 24.97 MB, free: 8.359 MB / 18.57 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.005/1.005, allocations: 173.4 MB / 201.5 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 268.1 MB, free: 6.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.904e-05, allocations: 6.25 kB / 268.1 MB, free: 6.652 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.148/0.1481, allocations: 24.25 MB / 292.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.162, allocations: 7.744 MB / 300.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/0.1652, allocations: 214 kB / 300.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009208/0.1744, allocations: 8.933 MB / 309.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005425/0.1798, allocations: 3.115 MB / 312.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.1823, allocations: 1.839 MB / 314.2 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006934/0.1892, allocations: 11.57 MB / 325.8 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01583/0.2051, allocations: 14.53 MB / 340.3 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01116/0.2162, allocations: 8.963 MB / 349.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007268/0.2235, allocations: 6.211 MB / 355.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002002/0.2255, allocations: 1.715 MB / 357.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.2283, allocations: 2.132 MB / 359.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001918/0.2302, allocations: 3.519 MB / 362.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003805/0.234, allocations: 4.277 MB / 367.2 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008939/0.243, allocations: 10.86 MB / 378 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.243, allocations: 0 / 378 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.243, allocations: 0 / 378 MB, free: 12.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001353/0.2431, allocations: 0 / 378 MB, free: 12.89 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.02037/0.2635, allocations: 14.36 MB / 392.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.2635, allocations: 8.922 kB / 392.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.019/0.2825, allocations: 7.923 MB / 400.3 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008264/0.2908, allocations: 6.979 MB / 407.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000378/0.2912, allocations: 0.7185 MB / 408 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.2923, allocations: 0.953 MB / 409 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.3059, allocations: 8.449 MB / 417.4 MB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001578/0.3061, allocations: 19.83 kB / 417.4 MB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007204/0.3068, allocations: 400 kB / 417.8 MB, free: 4.781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003854/0.3072, allocations: 0.563 MB / 418.4 MB, free: 4.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009511/0.3167, allocations: 4.669 MB / 423 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2422/0.5589, allocations: 41.7 MB / 464.8 MB, free: 100.9 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006967/0.5659, allocations: 6.669 MB / 471.4 MB, free: 99.46 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.5678, allocations: 1.534 MB / 473 MB, free: 99.13 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002363/0.5681, allocations: 119.2 kB / 473.1 MB, free: 99.12 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.5681, allocations: 87.16 kB / 473.2 MB, free: 99.04 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 5.952e-06/0.5681, allocations: 0 / 473.2 MB, free: 99.04 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.02265/0.5908, allocations: 12.65 MB / 485.8 MB, free: 91.25 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.5908, allocations: 94.95 kB / 485.9 MB, free: 91.15 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003418/0.5942, allocations: 3.867 MB / 489.8 MB, free: 87.39 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.5944, allocations: 105.7 kB / 489.9 MB, free: 87.28 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001513/0.5959, allocations: 4.587 MB / 494.5 MB, free: 83.28 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006731/0.5966, allocations: 1.647 MB / 496.1 MB, free: 81.65 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/0.5977, allocations: 1.321 MB / 497.4 MB, free: 80.32 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.017e-05/0.5977, allocations: 476.8 kB / 497.9 MB, free: 79.85 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.5992, allocations: 0.9646 MB / 498.9 MB, free: 78.88 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/0.6014, allocations: 4.192 MB / 0.4913 GB, free: 73.35 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004299/0.6057, allocations: 5.753 MB / 0.4969 GB, free: 66.27 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.312e-05/0.6057, allocations: 23.94 kB / 0.4969 GB, free: 66.25 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.006974/0.6127, allocations: 5.7 MB / 0.5025 GB, free: 60.53 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.975e-05/0.6127, allocations: 36 kB / 0.5025 GB, free: 60.49 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.109e-05/0.6128, allocations: 68 kB / 0.5026 GB, free: 60.43 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/0.6151, allocations: 1.271 MB / 0.5038 GB, free: 59.15 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/0.6175, allocations: 1.38 MB / 0.5052 GB, free: 57.77 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007154/0.6246, allocations: 8.757 MB / 0.5137 GB, free: 48.77 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.6265, allocations: 355.6 kB / 0.514 GB, free: 48.43 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002848/0.6268, allocations: 304 kB / 0.5143 GB, free: 48.13 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001643/0.6285, allocations: 0.5452 MB / 0.5149 GB, free: 47.57 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006666/0.6291, allocations: 0.5947 MB / 0.5154 GB, free: 46.97 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006021/0.6352, allocations: 5.457 MB / 0.5208 GB, free: 41.45 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003949/0.6391, allocations: 2.947 MB / 0.5237 GB, free: 38.48 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.6391, allocations: 12 kB / 0.5237 GB, free: 38.47 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.6391, allocations: 27.84 kB / 0.5237 GB, free: 38.44 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.6527, allocations: 12.02 MB / 0.5354 GB, free: 26.32 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.6527, allocations: 8 kB / 0.5354 GB, free: 26.31 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.6544, allocations: 0.7957 MB / 0.5362 GB, free: 25.51 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002094/0.6565, allocations: 1.15 MB / 0.5373 GB, free: 24.35 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002147/0.6567, allocations: 108 kB / 0.5374 GB, free: 24.25 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006483/0.6631, allocations: 8.28 MB / 0.5455 GB, free: 15.75 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6632, allocations: 15.97 kB / 0.5455 GB, free: 15.73 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006567/0.6697, allocations: 5.352 MB / 0.5508 GB, free: 10.2 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/0.671, allocations: 0.9496 MB / 0.5517 GB, free: 9.242 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000368/0.6713, allocations: 91.98 kB / 0.5518 GB, free: 9.152 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.6724, allocations: 227.8 kB / 0.552 GB, free: 8.93 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004033/0.6728, allocations: 355.2 kB / 0.5523 GB, free: 8.582 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.673, allocations: 136 kB / 0.5525 GB, free: 8.449 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.00186/0.6748, allocations: 1.849 MB / 0.5543 GB, free: 6.621 MB / 378.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6748, allocations: 0 / 0.5543 GB, free: 6.621 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003637/0.6785, allocations: 1.719 MB / 0.556 GB, free: 4.902 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.6795, allocations: 0.5364 MB / 0.5565 GB, free: 4.508 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005595/0.6851, allocations: 4.621 MB / 0.561 GB, free: 15.84 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.6851, allocations: 0 / 0.561 GB, free: 15.84 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003133/0.6882, allocations: 2.537 MB / 0.5635 GB, free: 13.27 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.6908, allocations: 0.9702 MB / 0.5644 GB, free: 12.32 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1224/0.8132, allocations: 15.09 MB / 0.5792 GB, free: 124.3 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002346/0.8155, allocations: 2.75 MB / 0.5818 GB, free: 124 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.003282/0.8188, allocations: 1.769 MB / 0.5836 GB, free: 123.9 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007948/0.8196, allocations: 372.2 kB / 0.5839 GB, free: 123.9 MB / 394.8 MB Notification: Performance of SimCode: time 1.643e-06/0.8196, allocations: 0 / 0.5839 GB, free: 123.9 MB / 394.8 MB Notification: Performance of Templates: time 0.07296/0.8926, allocations: 65.74 MB / 0.6481 GB, free: 72.82 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_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: 6.228842850076035]