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.0009314/0.0009314, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001031/0.001031, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.9009/0.9009, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.433e-06/1.433e-06, allocations: 0 / 273.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.35e-05, allocations: 6.109 kB / 273.5 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1129/0.1129, allocations: 23.39 MB / 296.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.1253, allocations: 8.315 MB / 305.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.1276, allocations: 217.5 kB / 305.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007739/0.1353, allocations: 8.909 MB / 314.3 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004968/0.1403, allocations: 3.186 MB / 317.5 MB, free: 4.512 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.1427, allocations: 1.849 MB / 319.4 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007534/0.1502, allocations: 11.7 MB / 331.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01337/0.1636, allocations: 14.96 MB / 346 MB, free: 9.523 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007221/0.1708, allocations: 9.084 MB / 355.1 MB, free: 432 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004795/0.1756, allocations: 6.488 MB / 361.6 MB, free: 9.922 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.1768, allocations: 1.715 MB / 363.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.179, allocations: 2.144 MB / 365.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001833/0.1808, allocations: 3.522 MB / 369 MB, free: 2.531 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00298/0.1838, allocations: 4.261 MB / 373.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007791/0.1916, allocations: 10.87 MB / 384.1 MB, free: 3.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1916, allocations: 4 kB / 384.1 MB, free: 3.359 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1916, allocations: 0 / 384.1 MB, free: 3.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.014e-05/0.1917, allocations: 4 kB / 384.1 MB, free: 3.355 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.01471/0.2064, allocations: 12.57 MB / 396.7 MB, free: 6.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2064, allocations: 8.031 kB / 396.7 MB, free: 6.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.2226, allocations: 6.369 MB / 403.1 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006044/0.2287, allocations: 3.854 MB / 406.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003209/0.229, allocations: 0.7185 MB / 407.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.23, allocations: 0.949 MB / 408.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008839/0.2389, allocations: 7.963 MB / 416.6 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001346/0.239, allocations: 11.94 kB / 416.6 MB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007253/0.2397, allocations: 404 kB / 417 MB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003428/0.2401, allocations: 0.5552 MB / 417.5 MB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005592/0.2457, allocations: 4.09 MB / 421.6 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2457/0.4914, allocations: 31.02 MB / 452.6 MB, free: 73.94 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00516/0.4965, allocations: 4.761 MB / 457.4 MB, free: 73.52 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.4978, allocations: 1.168 MB / 458.6 MB, free: 73.46 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/0.498, allocations: 145 kB / 458.7 MB, free: 73.46 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.4981, allocations: 85.95 kB / 458.8 MB, free: 73.41 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 6.973e-06/0.4981, allocations: 0 / 458.8 MB, free: 73.41 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.01801/0.5161, allocations: 9.728 MB / 468.5 MB, free: 72.3 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.5161, allocations: 105.5 kB / 468.6 MB, free: 72.23 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.5187, allocations: 3.297 MB / 471.9 MB, free: 71.85 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.5189, allocations: 98.52 kB / 472 MB, free: 71.82 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.5201, allocations: 3.874 MB / 475.9 MB, free: 69.64 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006779/0.5208, allocations: 1.598 MB / 477.5 MB, free: 68.49 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/0.5218, allocations: 1.106 MB / 478.6 MB, free: 67.88 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.879e-05/0.5218, allocations: 301.1 kB / 478.9 MB, free: 67.59 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009979/0.5228, allocations: 0.8455 MB / 479.7 MB, free: 66.84 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.5242, allocations: 2.825 MB / 482.6 MB, free: 63.26 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002758/0.5269, allocations: 4.305 MB / 486.9 MB, free: 58.53 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.54e-05/0.527, allocations: 20 kB / 486.9 MB, free: 58.51 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.004845/0.5318, allocations: 4.191 MB / 491.1 MB, free: 55.02 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.5319, allocations: 41.78 kB / 491.1 MB, free: 54.98 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.733e-05/0.5319, allocations: 68 kB / 491.2 MB, free: 54.91 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.5339, allocations: 1.164 MB / 492.3 MB, free: 53.8 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/0.5363, allocations: 1.251 MB / 493.6 MB, free: 52.68 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/0.5417, allocations: 6.414 MB / 0.4883 GB, free: 47.41 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/0.5442, allocations: 223.3 kB / 0.4885 GB, free: 47.29 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004209/0.5446, allocations: 240 kB / 0.4887 GB, free: 47.11 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.001829/0.5465, allocations: 0.5079 MB / 0.4892 GB, free: 46.86 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006941/0.5472, allocations: 406.2 kB / 0.4896 GB, free: 46.51 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004166/0.5513, allocations: 4.179 MB / 0.4937 GB, free: 43.29 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002374/0.5537, allocations: 1.986 MB / 0.4956 GB, free: 41.36 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.5537, allocations: 12 kB / 0.4956 GB, free: 41.35 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/0.5537, allocations: 27.91 kB / 0.4957 GB, free: 41.32 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.5655, allocations: 8.722 MB / 0.5042 GB, free: 34.91 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.5655, allocations: 12 kB / 0.5042 GB, free: 34.9 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.567, allocations: 0.675 MB / 0.5049 GB, free: 34.27 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.5689, allocations: 1.057 MB / 0.5059 GB, free: 33.22 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/0.569, allocations: 103.9 kB / 0.506 GB, free: 33.12 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004916/0.574, allocations: 6.011 MB / 0.5119 GB, free: 27.08 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.574, allocations: 16.25 kB / 0.5119 GB, free: 27.07 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004623/0.5786, allocations: 3.92 MB / 0.5157 GB, free: 23.15 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.5798, allocations: 0.5716 MB / 0.5163 GB, free: 22.58 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004067/0.5802, allocations: 91.94 kB / 0.5163 GB, free: 22.49 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009662/0.5811, allocations: 112 kB / 0.5165 GB, free: 22.38 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/0.5815, allocations: 335.2 kB / 0.5168 GB, free: 22.06 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/0.5817, allocations: 108 kB / 0.5169 GB, free: 21.95 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001453/0.5832, allocations: 1.598 MB / 0.5184 GB, free: 20.53 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5832, allocations: 0.9844 kB / 0.5184 GB, free: 20.53 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003772/0.5869, allocations: 1.715 MB / 0.5201 GB, free: 18.82 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.001316/0.5883, allocations: 0.6147 MB / 0.5207 GB, free: 18.47 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004383/0.5926, allocations: 3.652 MB / 0.5243 GB, free: 15.11 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001113/0.5928, allocations: 63.94 kB / 0.5243 GB, free: 15.04 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002153/0.5949, allocations: 2.009 MB / 0.5263 GB, free: 13.14 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.5975, allocations: 0.9716 MB / 0.5272 GB, free: 12.21 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/0.6145, allocations: 14.61 MB / 0.5415 GB, free: 13.52 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/0.6166, allocations: 1.969 MB / 0.5434 GB, free: 11.53 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002246/0.6189, allocations: 0.7275 MB / 0.5441 GB, free: 10.8 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/0.6207, allocations: 0.9426 MB / 0.5451 GB, free: 9.852 MB / 394.8 MB Notification: Performance of SimCode: time 2.004e-06/0.6207, allocations: 0 / 0.5451 GB, free: 9.852 MB / 394.8 MB Notification: Performance of Templates: time 0.2233/0.844, allocations: 71.67 MB / 0.6151 GB, free: 118.3 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.6813471601344645]