Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.0009303/0.0009303, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.0009382/0.0009382, allocations: 167.8 kB / 25.7 MB, free: 8.445 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 0.865/0.865, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 251.6 MB, free: 7.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.702e-05, allocations: 6.312 kB / 251.6 MB, free: 7.164 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02248/0.0225, allocations: 23.52 MB / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.03932, allocations: 7.998 MB / 283.2 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00573/0.04505, allocations: 183.1 kB / 283.3 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01165/0.0567, allocations: 8.854 MB / 292.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008741/0.06544, allocations: 3.142 MB / 295.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004281/0.06972, allocations: 1.808 MB / 297.1 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01266/0.08238, allocations: 11.7 MB / 308.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0227/0.1051, allocations: 14.98 MB / 323.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01455/0.1196, allocations: 9.178 MB / 333 MB, free: 5.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009683/0.1293, allocations: 6.574 MB / 339.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004169/0.1335, allocations: 1.723 MB / 341.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00598/0.1395, allocations: 2.151 MB / 343.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004628/0.1441, allocations: 3.581 MB / 347 MB, free: 7.285 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00895/0.153, allocations: 4.312 MB / 351.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1522/0.3052, allocations: 10.96 MB / 362.3 MB, free: 54.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.3052, allocations: 0 / 362.3 MB, free: 54.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3052, allocations: 0 / 362.3 MB, free: 54.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006312/0.3059, allocations: 0 / 362.3 MB, free: 54.47 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.02882/0.3347, allocations: 12.71 MB / 375 MB, free: 50.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3347, allocations: 12.64 kB / 375 MB, free: 50.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02741/0.3621, allocations: 7.233 MB / 382.3 MB, free: 50.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008111/0.3702, allocations: 3.349 MB / 385.6 MB, free: 49.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/0.3706, allocations: 0.7338 MB / 386.3 MB, free: 49.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001803/0.3724, allocations: 0.9601 MB / 387.3 MB, free: 49.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009942/0.3823, allocations: 8.132 MB / 395.4 MB, free: 44.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.3825, allocations: 19.69 kB / 395.4 MB, free: 44.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006819/0.3832, allocations: 402.2 kB / 395.8 MB, free: 44.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002928/0.3835, allocations: 0.5902 MB / 396.4 MB, free: 43.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005534/0.389, allocations: 4.255 MB / 400.7 MB, free: 39.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02853/0.4175, allocations: 31.71 MB / 432.4 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005074/0.4226, allocations: 5.225 MB / 437.6 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.4238, allocations: 1.235 MB / 438.9 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00749/0.4313, allocations: 4.957 MB / 443.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.4314, allocations: 73.36 kB / 443.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=357): time 4.208e-06/0.4314, allocations: 0 / 443.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=362): time 0.01514/0.4465, allocations: 7.944 MB / 451.8 MB, free: 5.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.4466, allocations: 90.25 kB / 451.9 MB, free: 5.688 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/0.4496, allocations: 3.497 MB / 455.4 MB, free: 2.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.4498, allocations: 85.7 kB / 455.5 MB, free: 2.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/0.4516, allocations: 4.165 MB / 459.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007741/0.4524, allocations: 1.305 MB / 461 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/0.4535, allocations: 1.097 MB / 462.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.4536, allocations: 301.1 kB / 462.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.4547, allocations: 0.8164 MB / 463.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.4569, allocations: 3.003 MB / 466.2 MB, free: 7.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/0.4609, allocations: 4.414 MB / 470.6 MB, free: 2.312 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.069e-05/0.4609, allocations: 24 kB / 470.6 MB, free: 2.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.005385/0.4663, allocations: 4.208 MB / 474.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.4663, allocations: 36 kB / 474.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.123e-05/0.4664, allocations: 80 kB / 474.9 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002109/0.4685, allocations: 1.205 MB / 476.1 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/0.4711, allocations: 1.271 MB / 477.4 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006225/0.4773, allocations: 6.476 MB / 483.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/0.4798, allocations: 227.8 kB / 484.1 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/0.4801, allocations: 244 kB / 484.4 MB, free: 5.195 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002518/0.4826, allocations: 0.5084 MB / 484.9 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005923/0.4832, allocations: 367.6 kB / 485.2 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003732/0.487, allocations: 2.836 MB / 488.1 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002408/0.4894, allocations: 1.774 MB / 489.8 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.4894, allocations: 16 kB / 489.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/0.4894, allocations: 19.92 kB / 489.9 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009551/0.4989, allocations: 6.721 MB / 496.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.499, allocations: 4.594 kB / 496.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/0.5004, allocations: 0.5848 MB / 497.2 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/0.5023, allocations: 1.071 MB / 498.2 MB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/0.5025, allocations: 75.97 kB / 498.3 MB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005986/0.5085, allocations: 6.086 MB / 0.4926 GB, free: 2.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5085, allocations: 8 kB / 0.4926 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1755/0.6839, allocations: 3.369 MB / 0.4959 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/0.6866, allocations: 0.5207 MB / 0.4964 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007485/0.6873, allocations: 78.92 kB / 0.4965 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.689, allocations: 101.9 kB / 0.4966 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007508/0.6897, allocations: 280.9 kB / 0.4968 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002867/0.69, allocations: 79.72 kB / 0.4969 GB, free: 108.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002631/0.6926, allocations: 1.661 MB / 0.4985 GB, free: 108.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6926, allocations: 0 / 0.4985 GB, free: 108.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007079/0.6997, allocations: 1.668 MB / 0.5002 GB, free: 108.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (333): * Single equations (assignments): 330 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001863/0.7016, allocations: 0.5955 MB / 0.5007 GB, free: 108.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00723/0.7088, allocations: 3.49 MB / 0.5041 GB, free: 108 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001796/0.709, allocations: 72 kB / 0.5042 GB, free: 108 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002966/0.712, allocations: 1.855 MB / 0.506 GB, free: 107.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.7144, allocations: 0.9551 MB / 0.507 GB, free: 107.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/0.7335, allocations: 14.65 MB / 0.5213 GB, free: 102.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/0.7352, allocations: 1.969 MB / 0.5232 GB, free: 101.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002106/0.7373, allocations: 0.7071 MB / 0.5239 GB, free: 101.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/0.7388, allocations: 0.8757 MB / 0.5247 GB, free: 101 MB / 394.7 MB Notification: Performance of SimCode: time 1.784e-06/0.7389, allocations: 0 / 0.5247 GB, free: 101 MB / 394.7 MB Notification: Performance of Templates: time 0.0877/0.8266, allocations: 66.76 MB / 0.5899 GB, free: 39.55 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.728963850066066]