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.001404/0.001404, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0008842/0.0008842, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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 0.9413/0.9413, allocations: 173.4 MB / 201.1 MB, free: 9.355 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.954e-06/1.954e-06, allocations: 0 / 268.1 MB, free: 6.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.127e-05, allocations: 5.969 kB / 268.1 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1393/0.1394, allocations: 24.39 MB / 292.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01452/0.1539, allocations: 7.762 MB / 300.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00455/0.1584, allocations: 216.7 kB / 300.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.1696, allocations: 8.961 MB / 309.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008383/0.178, allocations: 3.131 MB / 312.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.1815, allocations: 1.826 MB / 314.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009013/0.1905, allocations: 11.59 MB / 325.9 MB, free: 1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01852/0.209, allocations: 14.52 MB / 340.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0141/0.2231, allocations: 9.041 MB / 349.5 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009521/0.2326, allocations: 6.387 MB / 355.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004082/0.2367, allocations: 1.715 MB / 357.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006703/0.2434, allocations: 2.14 MB / 359.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004335/0.2478, allocations: 3.503 MB / 363.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008196/0.256, allocations: 4.269 MB / 367.5 MB, free: 7.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01449/0.2705, allocations: 10.85 MB / 378.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2705, allocations: 0 / 378.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2705, allocations: 0 / 378.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005524/0.271, allocations: 0 / 378.4 MB, free: 12.35 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.02419/0.2952, allocations: 14.36 MB / 392.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.2952, allocations: 8.922 kB / 392.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01958/0.3148, allocations: 7.919 MB / 400.6 MB, free: 5.945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.326, allocations: 6.979 MB / 407.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007341/0.3267, allocations: 0.7185 MB / 408.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002884/0.3296, allocations: 0.953 MB / 409.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01951/0.3491, allocations: 8.445 MB / 417.7 MB, free: 4.656 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001972/0.3493, allocations: 11.95 kB / 417.7 MB, free: 4.645 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008538/0.3502, allocations: 404 kB / 418.1 MB, free: 4.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003883/0.3505, allocations: 0.5591 MB / 418.7 MB, free: 3.688 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.3636, allocations: 4.676 MB / 423.4 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2889/0.6526, allocations: 41.69 MB / 465.1 MB, free: 75.31 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00772/0.6603, allocations: 6.67 MB / 471.7 MB, free: 74.92 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/0.6625, allocations: 1.537 MB / 473.3 MB, free: 74.86 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/0.6628, allocations: 120.1 kB / 473.4 MB, free: 74.86 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.6628, allocations: 82.83 kB / 473.5 MB, free: 74.81 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 5.731e-06/0.6628, allocations: 0 / 473.5 MB, free: 74.81 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.02335/0.6862, allocations: 12.64 MB / 486.1 MB, free: 70.53 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.6862, allocations: 97.2 kB / 486.2 MB, free: 70.46 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003503/0.6897, allocations: 3.833 MB / 490 MB, free: 67.83 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002402/0.69, allocations: 97.7 kB / 490.1 MB, free: 67.73 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001685/0.6917, allocations: 4.606 MB / 494.8 MB, free: 63.79 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007742/0.6924, allocations: 1.651 MB / 496.4 MB, free: 62.29 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.6936, allocations: 1.325 MB / 497.7 MB, free: 60.95 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.051e-05/0.6936, allocations: 484.7 kB / 498.2 MB, free: 60.47 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.695, allocations: 0.9607 MB / 499.2 MB, free: 59.5 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/0.6972, allocations: 4.198 MB / 0.4916 GB, free: 54 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/0.7016, allocations: 5.745 MB / 0.4972 GB, free: 47.21 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.793e-05/0.7016, allocations: 24 kB / 0.4972 GB, free: 47.19 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.008473/0.7101, allocations: 5.702 MB / 0.5028 GB, free: 41.95 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.7101, allocations: 36 kB / 0.5028 GB, free: 41.91 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.36e-05/0.7102, allocations: 68 kB / 0.5029 GB, free: 41.85 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/0.7127, allocations: 1.271 MB / 0.5041 GB, free: 40.58 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/0.7155, allocations: 1.377 MB / 0.5054 GB, free: 39.29 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007524/0.723, allocations: 8.767 MB / 0.514 GB, free: 30.36 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/0.726, allocations: 345.6 kB / 0.5143 GB, free: 30.02 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004633/0.7265, allocations: 300 kB / 0.5146 GB, free: 29.73 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.001983/0.7285, allocations: 0.5419 MB / 0.5152 GB, free: 29.27 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007743/0.7292, allocations: 0.5986 MB / 0.5157 GB, free: 28.66 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005978/0.7352, allocations: 5.463 MB / 0.5211 GB, free: 23.18 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003842/0.739, allocations: 2.958 MB / 0.524 GB, free: 20.25 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.7391, allocations: 15.94 kB / 0.524 GB, free: 20.23 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.7391, allocations: 23.91 kB / 0.524 GB, free: 20.21 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.7546, allocations: 12.01 MB / 0.5357 GB, free: 8.227 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.7546, allocations: 12.06 kB / 0.5357 GB, free: 8.215 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.7562, allocations: 0.7939 MB / 0.5365 GB, free: 7.461 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002147/0.7584, allocations: 1.15 MB / 0.5376 GB, free: 6.305 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/0.7586, allocations: 104 kB / 0.5377 GB, free: 6.203 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007164/0.7658, allocations: 8.288 MB / 0.5458 GB, free: 13.73 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.7658, allocations: 11.38 kB / 0.5458 GB, free: 13.72 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008089/0.7738, allocations: 5.349 MB / 0.5511 GB, free: 8.234 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00175/0.7756, allocations: 0.9379 MB / 0.552 GB, free: 7.293 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004638/0.7761, allocations: 91.98 kB / 0.5521 GB, free: 7.203 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.7772, allocations: 227.8 kB / 0.5523 GB, free: 6.98 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005716/0.7778, allocations: 346.2 kB / 0.5526 GB, free: 6.648 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/0.778, allocations: 140 kB / 0.5527 GB, free: 6.512 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.002325/0.7803, allocations: 1.814 MB / 0.5545 GB, free: 4.719 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7803, allocations: 1.531 kB / 0.5545 GB, free: 4.719 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.00517/0.7855, allocations: 1.707 MB / 0.5562 GB, free: 3.012 MB / 394.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.001279/0.7868, allocations: 0.5307 MB / 0.5567 GB, free: 2.672 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.007299/0.7941, allocations: 4.635 MB / 0.5612 GB, free: 14.21 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.7941, allocations: 4 kB / 0.5612 GB, free: 14.21 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003749/0.7978, allocations: 2.53 MB / 0.5637 GB, free: 11.75 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/0.8009, allocations: 0.9768 MB / 0.5647 GB, free: 10.8 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1412/0.942, allocations: 15.07 MB / 0.5794 GB, free: 112.9 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002885/0.9449, allocations: 2.746 MB / 0.5821 GB, free: 112.7 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003678/0.9486, allocations: 1.756 MB / 0.5838 GB, free: 112.6 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008585/0.9495, allocations: 358 kB / 0.5841 GB, free: 112.6 MB / 410.8 MB Notification: Performance of SimCode: time 1.803e-06/0.9495, allocations: 1.031 kB / 0.5841 GB, free: 112.6 MB / 410.8 MB Notification: Performance of Templates: time 0.07823/1.028, allocations: 67.87 MB / 0.6504 GB, free: 63.52 MB / 410.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: 5.988965482916683]