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.001016/0.001016, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001959/0.001959, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.8978/0.8978, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.683e-06/1.683e-06, allocations: 0 / 273.1 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.016e-05, allocations: 2.312 kB / 273.1 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1327/0.1328, allocations: 24.32 MB / 297.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.1439, allocations: 7.955 MB / 305.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.146, allocations: 218 kB / 305.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007675/0.1537, allocations: 8.939 MB / 314.5 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004462/0.1581, allocations: 3.169 MB / 317.7 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.1607, allocations: 1.839 MB / 319.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008125/0.1688, allocations: 11.7 MB / 331.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01657/0.1854, allocations: 14.53 MB / 345.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008944/0.1943, allocations: 8.967 MB / 354.7 MB, free: 1.277 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005922/0.2003, allocations: 6.223 MB / 361 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001608/0.2019, allocations: 1.715 MB / 362.7 MB, free: 9.324 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.2041, allocations: 2.159 MB / 364.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001943/0.2061, allocations: 3.515 MB / 368.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003715/0.2098, allocations: 4.281 MB / 372.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008855/0.2187, allocations: 10.88 MB / 383.5 MB, free: 4.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2187, allocations: 4 kB / 383.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2187, allocations: 0 / 383.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001381/0.2188, allocations: 0 / 383.5 MB, free: 4.434 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.01872/0.2375, allocations: 14.38 MB / 397.9 MB, free: 5.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2376, allocations: 8.031 kB / 397.9 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02067/0.2582, allocations: 7.841 MB / 405.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007327/0.2656, allocations: 7.01 MB / 412.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/0.2659, allocations: 0.7146 MB / 413.5 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009943/0.2669, allocations: 0.9569 MB / 414.4 MB, free: 5.312 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.2793, allocations: 8.484 MB / 422.9 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001442/0.2795, allocations: 15.88 kB / 422.9 MB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006996/0.2802, allocations: 400 kB / 423.3 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003616/0.2806, allocations: 0.563 MB / 423.9 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009163/0.2897, allocations: 4.708 MB / 428.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2481/0.5378, allocations: 41.79 MB / 470.4 MB, free: 95.71 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007037/0.5449, allocations: 6.7 MB / 477.1 MB, free: 93.39 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.5469, allocations: 1.535 MB / 478.6 MB, free: 92.21 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.5472, allocations: 139.4 kB / 478.8 MB, free: 92.07 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.5472, allocations: 80.89 kB / 478.8 MB, free: 91.98 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 6.863e-06/0.5472, allocations: 4 kB / 478.8 MB, free: 91.98 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.02446/0.5717, allocations: 12.72 MB / 491.6 MB, free: 79.62 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.5717, allocations: 98.95 kB / 491.7 MB, free: 79.51 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004739/0.5765, allocations: 3.874 MB / 495.5 MB, free: 75.75 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003275/0.5768, allocations: 97.7 kB / 495.6 MB, free: 75.64 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002324/0.5791, allocations: 4.593 MB / 0.4885 GB, free: 71.62 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001331/0.5804, allocations: 1.648 MB / 0.4901 GB, free: 70 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001626/0.5821, allocations: 1.34 MB / 0.4914 GB, free: 68.64 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.234e-05/0.5821, allocations: 476.8 kB / 0.4919 GB, free: 68.18 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/0.5842, allocations: 0.9685 MB / 0.4928 GB, free: 67.2 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003057/0.5872, allocations: 4.204 MB / 0.4969 GB, free: 61.66 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005964/0.5932, allocations: 5.765 MB / 0.5026 GB, free: 54.57 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.063e-05/0.5933, allocations: 20 kB / 0.5026 GB, free: 54.55 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01001/0.6033, allocations: 5.732 MB / 0.5082 GB, free: 48.8 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/0.6033, allocations: 32.34 kB / 0.5082 GB, free: 48.77 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.522e-05/0.6034, allocations: 72 kB / 0.5083 GB, free: 48.7 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003238/0.6066, allocations: 1.267 MB / 0.5095 GB, free: 47.42 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003739/0.6104, allocations: 1.384 MB / 0.5109 GB, free: 46.04 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.6209, allocations: 8.771 MB / 0.5194 GB, free: 37.03 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/0.6245, allocations: 351.6 kB / 0.5198 GB, free: 36.68 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000616/0.6252, allocations: 296 kB / 0.52 GB, free: 36.39 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.002328/0.6275, allocations: 0.5453 MB / 0.5206 GB, free: 35.84 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000884/0.6284, allocations: 0.6025 MB / 0.5212 GB, free: 35.23 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006512/0.6349, allocations: 5.442 MB / 0.5265 GB, free: 29.72 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004125/0.639, allocations: 2.99 MB / 0.5294 GB, free: 26.71 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.639, allocations: 15.94 kB / 0.5294 GB, free: 26.7 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.639, allocations: 23.91 kB / 0.5294 GB, free: 26.67 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/0.6556, allocations: 12.05 MB / 0.5412 GB, free: 14.51 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.6556, allocations: 8 kB / 0.5412 GB, free: 14.5 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.6573, allocations: 0.7996 MB / 0.542 GB, free: 13.7 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/0.6598, allocations: 1.165 MB / 0.5431 GB, free: 12.53 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003665/0.6602, allocations: 108 kB / 0.5432 GB, free: 12.43 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/0.6716, allocations: 8.267 MB / 0.5513 GB, free: 3.934 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.6717, allocations: 8 kB / 0.5513 GB, free: 3.926 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/0.685, allocations: 5.387 MB / 0.5566 GB, free: 14.36 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00314/0.6882, allocations: 0.9496 MB / 0.5575 GB, free: 13.4 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/0.6893, allocations: 100 kB / 0.5576 GB, free: 13.3 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002763/0.692, allocations: 219.8 kB / 0.5578 GB, free: 13.09 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009659/0.693, allocations: 359.2 kB / 0.5582 GB, free: 12.74 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004193/0.6934, allocations: 136 kB / 0.5583 GB, free: 12.61 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.004739/0.6982, allocations: 1.865 MB / 0.5601 GB, free: 10.76 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6982, allocations: 3.938 kB / 0.5601 GB, free: 10.76 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.007868/0.706, allocations: 1.711 MB / 0.5618 GB, free: 9.047 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.001779/0.7078, allocations: 0.5336 MB / 0.5623 GB, free: 8.668 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.01171/0.7195, allocations: 4.644 MB / 0.5668 GB, free: 3.98 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/0.7195, allocations: 0 / 0.5668 GB, free: 3.98 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006226/0.7258, allocations: 2.54 MB / 0.5693 GB, free: 1.398 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00529/0.7311, allocations: 0.9935 MB / 0.5703 GB, free: 452 kB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.137/0.868, allocations: 15.04 MB / 0.585 GB, free: 118.6 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/0.8704, allocations: 2.75 MB / 0.5877 GB, free: 118.3 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002977/0.8734, allocations: 1.769 MB / 0.5894 GB, free: 118.3 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008225/0.8742, allocations: 393.1 kB / 0.5898 GB, free: 118.3 MB / 394.8 MB Notification: Performance of SimCode: time 2.535e-06/0.8742, allocations: 0 / 0.5898 GB, free: 118.3 MB / 394.8 MB Notification: Performance of Templates: time 0.07437/0.9486, allocations: 66.45 MB / 0.6547 GB, free: 60.02 MB / 394.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: 6.312174550956115]