Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001717/0.001717, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001176/0.001176, allocations: 167.7 kB / 24.82 MB, free: 9.238 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.96/0.96, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.273e-05, allocations: 2.312 kB / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.127/0.127, allocations: 23.37 MB / 296.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01274/0.1397, allocations: 7.925 MB / 304.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004041/0.1438, allocations: 214.2 kB / 305 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009032/0.1528, allocations: 8.661 MB / 313.6 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007222/0.16, allocations: 3.159 MB / 316.8 MB, free: 5.035 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.163, allocations: 1.829 MB / 318.6 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00944/0.1725, allocations: 11.71 MB / 330.3 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01806/0.1905, allocations: 14.53 MB / 344.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/0.2009, allocations: 9.041 MB / 353.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007849/0.2088, allocations: 6.41 MB / 360.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00354/0.2123, allocations: 1.711 MB / 362 MB, free: 9.613 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005626/0.2179, allocations: 2.159 MB / 364.2 MB, free: 7.453 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003562/0.2215, allocations: 3.515 MB / 367.7 MB, free: 3.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006227/0.2277, allocations: 4.269 MB / 372 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.2387, allocations: 10.87 MB / 382.8 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2387, allocations: 0 / 382.8 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2387, allocations: 0 / 382.8 MB, free: 4.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003033/0.239, allocations: 0 / 382.8 MB, free: 4.75 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.01934/0.2583, allocations: 13.41 MB / 396.2 MB, free: 7.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2584, allocations: 12.03 kB / 396.3 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01724/0.2756, allocations: 6.095 MB / 402.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009217/0.2848, allocations: 6.573 MB / 408.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004871/0.2853, allocations: 0.7185 MB / 409.6 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001979/0.2873, allocations: 0.953 MB / 410.6 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01522/0.3025, allocations: 7.779 MB / 418.4 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001929/0.3027, allocations: 11.94 kB / 418.4 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008624/0.3036, allocations: 400 kB / 418.8 MB, free: 0.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003916/0.304, allocations: 0.5631 MB / 419.3 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00904/0.313, allocations: 3.684 MB / 423 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2669/0.5799, allocations: 41.24 MB / 464.3 MB, free: 74.38 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005333/0.5852, allocations: 5.712 MB / 470 MB, free: 73.14 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.5866, allocations: 1.329 MB / 471.3 MB, free: 72.95 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.5869, allocations: 180.8 kB / 471.5 MB, free: 72.89 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.5869, allocations: 80.77 kB / 471.6 MB, free: 72.82 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 6.793e-06/0.5869, allocations: 2.297 kB / 471.6 MB, free: 72.82 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.02008/0.607, allocations: 10.74 MB / 482.3 MB, free: 67.8 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.607, allocations: 98.95 kB / 482.4 MB, free: 67.69 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/0.6103, allocations: 3.77 MB / 486.2 MB, free: 64.57 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002092/0.6105, allocations: 97.7 kB / 486.3 MB, free: 64.47 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001614/0.6121, allocations: 4.644 MB / 490.9 MB, free: 60.64 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007752/0.6129, allocations: 1.657 MB / 492.6 MB, free: 59.2 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/0.6141, allocations: 1.355 MB / 493.9 MB, free: 57.95 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.6142, allocations: 480.7 kB / 494.4 MB, free: 57.48 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008257/0.615, allocations: 0.738 MB / 495.1 MB, free: 56.73 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.6167, allocations: 4.004 MB / 499.1 MB, free: 51.57 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003202/0.6199, allocations: 5.381 MB / 0.4927 GB, free: 45.29 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-05/0.6199, allocations: 20 kB / 0.4927 GB, free: 45.27 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.005821/0.6257, allocations: 5.186 MB / 0.4978 GB, free: 40.55 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.6258, allocations: 39.94 kB / 0.4978 GB, free: 40.52 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-05/0.6258, allocations: 68 kB / 0.4979 GB, free: 40.45 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/0.6279, allocations: 1.226 MB / 0.4991 GB, free: 39.23 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/0.6302, allocations: 1.274 MB / 0.5003 GB, free: 38.05 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006062/0.6363, allocations: 8.381 MB / 0.5085 GB, free: 29.62 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/0.6391, allocations: 223.8 kB / 0.5087 GB, free: 29.41 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000549/0.6396, allocations: 255.2 kB / 0.509 GB, free: 29.16 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.001991/0.6416, allocations: 0.5473 MB / 0.5095 GB, free: 28.7 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008889/0.6425, allocations: 0.5947 MB / 0.5101 GB, free: 28.1 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004993/0.6475, allocations: 5.146 MB / 0.5151 GB, free: 23.38 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002859/0.6504, allocations: 2.588 MB / 0.5176 GB, free: 20.83 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.6504, allocations: 16.81 kB / 0.5176 GB, free: 20.81 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/0.6504, allocations: 23.91 kB / 0.5177 GB, free: 20.79 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/0.6632, allocations: 11.55 MB / 0.5289 GB, free: 10.29 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.6632, allocations: 8 kB / 0.529 GB, free: 10.28 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/0.6647, allocations: 0.7055 MB / 0.5296 GB, free: 9.617 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/0.6666, allocations: 1.119 MB / 0.5307 GB, free: 8.508 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/0.6667, allocations: 108 kB / 0.5308 GB, free: 8.402 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005593/0.6723, allocations: 7.929 MB / 0.5386 GB, free: 416 kB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.6723, allocations: 15.38 kB / 0.5386 GB, free: 404 kB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007124/0.6795, allocations: 4.786 MB / 0.5433 GB, free: 11.57 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/0.6809, allocations: 0.8679 MB / 0.5441 GB, free: 10.7 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/0.6813, allocations: 91.94 kB / 0.5442 GB, free: 10.61 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000974/0.6823, allocations: 112 kB / 0.5443 GB, free: 10.5 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004701/0.6827, allocations: 346.3 kB / 0.5446 GB, free: 10.17 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/0.6829, allocations: 116 kB / 0.5448 GB, free: 10.06 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001677/0.6846, allocations: 1.693 MB / 0.5464 GB, free: 8.543 MB / 394.8 MB Notification: Performance of sort global known variables: time 6e-08/0.6846, allocations: 0 / 0.5464 GB, free: 8.543 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004474/0.6891, allocations: 1.712 MB / 0.5481 GB, free: 6.832 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.001136/0.6902, allocations: 0.5241 MB / 0.5486 GB, free: 6.504 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.005499/0.6957, allocations: 4.229 MB / 0.5527 GB, free: 2.543 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6957, allocations: 0 / 0.5527 GB, free: 2.543 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002723/0.6984, allocations: 2.337 MB / 0.555 GB, free: 316 kB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/0.7015, allocations: 0.9836 MB / 0.556 GB, free: 15.35 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/0.7214, allocations: 14.86 MB / 0.5705 GB, free: 368 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/0.7239, allocations: 2.746 MB / 0.5732 GB, free: 13.59 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002334/0.7262, allocations: 0.7236 MB / 0.5739 GB, free: 12.86 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/0.7281, allocations: 1.045 MB / 0.5749 GB, free: 11.82 MB / 426.8 MB Notification: Performance of SimCode: time 1.994e-06/0.7281, allocations: 0 / 0.5749 GB, free: 11.82 MB / 426.8 MB Notification: Performance of Templates: time 0.2062/0.9343, allocations: 71.28 MB / 0.6445 GB, free: 89.61 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.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.1.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.888073206413537]