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.0009947/0.0009947, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001009/0.001009, allocations: 170.7 kB / 24.92 MB, free: 8.73 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.9582/0.9582, allocations: 177.1 MB / 205.3 MB, free: 5.059 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.603e-06/1.603e-06, allocations: 0 / 273.5 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.781e-05, allocations: 5.266 kB / 273.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1539/0.154, allocations: 23.43 MB / 297 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01592/0.1699, allocations: 8.32 MB / 305.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005677/0.1756, allocations: 218.6 kB / 305.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01135/0.1869, allocations: 8.846 MB / 314.4 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009259/0.1962, allocations: 3.145 MB / 317.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004497/0.2007, allocations: 1.837 MB / 319.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.012/0.2127, allocations: 11.72 MB / 331.1 MB, free: 8.508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02221/0.2349, allocations: 14.95 MB / 346 MB, free: 9.371 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01625/0.2511, allocations: 9.096 MB / 355.1 MB, free: 264 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01119/0.2623, allocations: 6.48 MB / 361.6 MB, free: 9.762 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004779/0.2671, allocations: 1.711 MB / 363.3 MB, free: 8.051 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008171/0.2753, allocations: 2.171 MB / 365.5 MB, free: 5.883 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005416/0.2807, allocations: 3.511 MB / 369 MB, free: 2.363 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009988/0.2907, allocations: 4.265 MB / 373.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01764/0.3083, allocations: 10.87 MB / 384.1 MB, free: 3.188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3083, allocations: 4 kB / 384.1 MB, free: 3.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3083, allocations: 0 / 384.1 MB, free: 3.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000536/0.3089, allocations: 0 / 384.1 MB, free: 3.184 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.02361/0.3325, allocations: 12.57 MB / 396.7 MB, free: 6.523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3325, allocations: 8.031 kB / 396.7 MB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02042/0.3529, allocations: 6.373 MB / 403.1 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008671/0.3616, allocations: 3.846 MB / 406.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005301/0.3621, allocations: 0.7224 MB / 407.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002939/0.3651, allocations: 0.9491 MB / 408.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02116/0.3862, allocations: 7.96 MB / 416.5 MB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00027/0.3865, allocations: 19.88 kB / 416.6 MB, free: 2.441 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002221/0.3887, allocations: 396 kB / 416.9 MB, free: 2.055 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004151/0.3891, allocations: 0.5591 MB / 417.5 MB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/0.4018, allocations: 4.09 MB / 421.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3022/0.7041, allocations: 31.02 MB / 452.6 MB, free: 73.68 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005458/0.7095, allocations: 4.754 MB / 457.4 MB, free: 73.27 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.711, allocations: 1.171 MB / 458.5 MB, free: 73.21 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/0.7112, allocations: 146.9 kB / 458.7 MB, free: 73.21 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/0.7113, allocations: 81.19 kB / 458.8 MB, free: 73.17 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 6.813e-06/0.7113, allocations: 0 / 458.8 MB, free: 73.17 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.0196/0.7309, allocations: 9.728 MB / 468.5 MB, free: 72.05 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.7309, allocations: 100.1 kB / 468.6 MB, free: 71.99 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/0.7339, allocations: 3.303 MB / 471.9 MB, free: 71.6 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005922/0.7345, allocations: 96.36 kB / 472 MB, free: 71.57 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.7358, allocations: 3.873 MB / 475.9 MB, free: 69.36 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.737, allocations: 1.591 MB / 477.4 MB, free: 68.18 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/0.7381, allocations: 1.116 MB / 478.6 MB, free: 67.56 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.391e-05/0.7381, allocations: 305.1 kB / 478.9 MB, free: 67.26 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.7392, allocations: 0.8483 MB / 479.7 MB, free: 66.51 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.7405, allocations: 2.815 MB / 482.5 MB, free: 62.94 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/0.7437, allocations: 4.302 MB / 486.8 MB, free: 58.21 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-05/0.7438, allocations: 23.94 kB / 486.9 MB, free: 58.18 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.005719/0.7495, allocations: 4.195 MB / 491 MB, free: 54.69 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.7495, allocations: 32 kB / 491.1 MB, free: 54.66 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.677e-05/0.7496, allocations: 72.88 kB / 491.1 MB, free: 54.59 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/0.7517, allocations: 1.165 MB / 492.3 MB, free: 53.47 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003013/0.7547, allocations: 1.343 MB / 493.7 MB, free: 52.27 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005701/0.7604, allocations: 6.457 MB / 0.4884 GB, free: 46.95 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003162/0.7636, allocations: 222.6 kB / 0.4886 GB, free: 46.83 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009635/0.7645, allocations: 234.2 kB / 0.4888 GB, free: 46.65 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.002255/0.7668, allocations: 0.5104 MB / 0.4893 GB, free: 46.4 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008228/0.7676, allocations: 409.7 kB / 0.4897 GB, free: 46.05 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00415/0.7718, allocations: 4.177 MB / 0.4938 GB, free: 42.83 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002309/0.7741, allocations: 1.982 MB / 0.4957 GB, free: 40.91 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.7741, allocations: 12 kB / 0.4957 GB, free: 40.89 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.864e-05/0.7741, allocations: 19.92 kB / 0.4958 GB, free: 40.88 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.7883, allocations: 8.738 MB / 0.5043 GB, free: 34.45 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.7883, allocations: 8 kB / 0.5043 GB, free: 34.45 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/0.79, allocations: 0.7324 MB / 0.505 GB, free: 33.78 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001927/0.7919, allocations: 1.048 MB / 0.506 GB, free: 32.77 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003032/0.7922, allocations: 108.6 kB / 0.5061 GB, free: 32.71 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005133/0.7974, allocations: 6.068 MB / 0.5121 GB, free: 26.62 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.7974, allocations: 10.91 kB / 0.5121 GB, free: 26.62 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005345/0.8027, allocations: 3.92 MB / 0.5159 GB, free: 22.7 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.8041, allocations: 0.5699 MB / 0.5165 GB, free: 22.13 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/0.8045, allocations: 91.98 kB / 0.5166 GB, free: 22.04 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009517/0.8054, allocations: 112 kB / 0.5167 GB, free: 21.93 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004909/0.8059, allocations: 349.9 kB / 0.517 GB, free: 21.6 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/0.8061, allocations: 95.97 kB / 0.5171 GB, free: 21.5 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001477/0.8076, allocations: 1.593 MB / 0.5186 GB, free: 20.09 MB / 378.8 MB Notification: Performance of sort global known variables: time 8e-08/0.8076, allocations: 0 / 0.5186 GB, free: 20.09 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004362/0.812, allocations: 1.711 MB / 0.5203 GB, free: 18.38 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.001397/0.8134, allocations: 0.6346 MB / 0.5209 GB, free: 18.02 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004841/0.8182, allocations: 3.637 MB / 0.5245 GB, free: 14.66 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001361/0.8183, allocations: 67.94 kB / 0.5245 GB, free: 14.59 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002637/0.821, allocations: 2.016 MB / 0.5265 GB, free: 12.69 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/0.8241, allocations: 0.9584 MB / 0.5275 GB, free: 11.76 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/0.8442, allocations: 14.6 MB / 0.5417 GB, free: 13.07 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003025/0.8472, allocations: 1.969 MB / 0.5436 GB, free: 11.07 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002511/0.8497, allocations: 0.7275 MB / 0.5443 GB, free: 10.34 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/0.8516, allocations: 0.9334 MB / 0.5453 GB, free: 9.406 MB / 394.8 MB Notification: Performance of SimCode: time 1.262e-06/0.8516, allocations: 0 / 0.5453 GB, free: 9.406 MB / 394.8 MB Notification: Performance of Templates: time 0.2265/1.078, allocations: 71.72 MB / 0.6153 GB, free: 117.7 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 -s gbode -gbm=radauIIA3 -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.987650010269135]