Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001432/0.001432, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9174/0.9174, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_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=1000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.942e-05, allocations: 2.312 kB / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1532/0.1532, allocations: 24.46 MB / 297.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.1674, allocations: 7.971 MB / 305.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003867/0.1712, allocations: 216.9 kB / 305.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00999/0.1812, allocations: 8.969 MB / 314.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008284/0.1895, allocations: 3.159 MB / 317.7 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.1927, allocations: 1.849 MB / 319.6 MB, free: 2.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01068/0.2034, allocations: 11.69 MB / 331.3 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01811/0.2215, allocations: 14.53 MB / 345.8 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01147/0.2329, allocations: 8.959 MB / 354.8 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008164/0.2411, allocations: 6.25 MB / 361 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003533/0.2446, allocations: 1.715 MB / 362.7 MB, free: 8.824 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004244/0.2489, allocations: 2.155 MB / 364.9 MB, free: 6.668 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002324/0.2512, allocations: 3.519 MB / 368.4 MB, free: 3.141 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005744/0.2569, allocations: 4.281 MB / 372.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.2678, allocations: 10.89 MB / 383.6 MB, free: 3.934 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2678, allocations: 0 / 383.6 MB, free: 3.934 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2678, allocations: 0 / 383.6 MB, free: 3.934 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000281/0.2681, allocations: 0 / 383.6 MB, free: 3.934 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.01983/0.2879, allocations: 14.39 MB / 398 MB, free: 5.445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.288, allocations: 11.98 kB / 398 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/0.3063, allocations: 7.837 MB / 405.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009482/0.3158, allocations: 7.007 MB / 412.8 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003758/0.3162, allocations: 0.7185 MB / 413.5 MB, free: 5.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001344/0.3175, allocations: 0.9569 MB / 414.5 MB, free: 4.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01328/0.3308, allocations: 8.484 MB / 423 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.3309, allocations: 15.89 kB / 423 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006487/0.3316, allocations: 400 kB / 423.4 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003575/0.3319, allocations: 0.563 MB / 424 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009112/0.341, allocations: 4.708 MB / 428.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2963/0.6373, allocations: 41.78 MB / 470.4 MB, free: 71.48 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/0.6479, allocations: 6.702 MB / 477.1 MB, free: 70.02 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002861/0.6508, allocations: 1.535 MB / 478.7 MB, free: 69.7 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003287/0.6511, allocations: 149.5 kB / 478.8 MB, free: 69.68 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/0.6512, allocations: 81.92 kB / 478.9 MB, free: 69.61 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 7.904e-06/0.6512, allocations: 0 / 478.9 MB, free: 69.61 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.02727/0.6784, allocations: 12.71 MB / 491.6 MB, free: 58.69 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.6785, allocations: 106.9 kB / 491.7 MB, free: 58.57 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/0.6826, allocations: 3.864 MB / 495.6 MB, free: 54.82 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006042/0.6832, allocations: 93.7 kB / 495.7 MB, free: 54.72 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001654/0.6849, allocations: 4.606 MB / 0.4886 GB, free: 50.77 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.686, allocations: 1.648 MB / 0.4902 GB, free: 49.26 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/0.6872, allocations: 1.332 MB / 0.4915 GB, free: 47.91 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.092e-05/0.6872, allocations: 480.6 kB / 0.4919 GB, free: 47.45 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.6888, allocations: 0.9724 MB / 0.4929 GB, free: 46.47 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002407/0.6912, allocations: 4.198 MB / 0.497 GB, free: 40.96 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004726/0.696, allocations: 5.763 MB / 0.5026 GB, free: 34.16 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.307e-05/0.696, allocations: 24 kB / 0.5026 GB, free: 34.14 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.007735/0.7037, allocations: 5.727 MB / 0.5082 GB, free: 28.87 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.7038, allocations: 36 kB / 0.5083 GB, free: 28.84 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.06e-05/0.7039, allocations: 71.98 kB / 0.5083 GB, free: 28.77 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/0.7063, allocations: 1.27 MB / 0.5096 GB, free: 27.49 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/0.7089, allocations: 1.389 MB / 0.5109 GB, free: 26.2 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007737/0.7166, allocations: 8.759 MB / 0.5195 GB, free: 17.26 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/0.7197, allocations: 351.6 kB / 0.5198 GB, free: 16.92 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003922/0.7201, allocations: 300 kB / 0.5201 GB, free: 16.62 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.002234/0.7224, allocations: 0.5486 MB / 0.5206 GB, free: 16.16 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007734/0.7231, allocations: 0.5986 MB / 0.5212 GB, free: 15.56 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006273/0.7294, allocations: 5.45 MB / 0.5265 GB, free: 10.08 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004091/0.7335, allocations: 2.982 MB / 0.5295 GB, free: 7.125 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.7335, allocations: 12 kB / 0.5295 GB, free: 7.113 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-05/0.7336, allocations: 27.91 kB / 0.5295 GB, free: 7.086 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02038/0.7539, allocations: 12.06 MB / 0.5413 GB, free: 11.06 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.754, allocations: 12.19 kB / 0.5413 GB, free: 11.05 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.7558, allocations: 0.8075 MB / 0.5421 GB, free: 10.29 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00261/0.7584, allocations: 1.149 MB / 0.5432 GB, free: 9.129 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002948/0.7587, allocations: 112 kB / 0.5433 GB, free: 9.02 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008836/0.7675, allocations: 8.268 MB / 0.5514 GB, free: 0.5586 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.7675, allocations: 11.09 kB / 0.5514 GB, free: 0.5508 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009091/0.7766, allocations: 5.383 MB / 0.5566 GB, free: 11.04 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/0.7788, allocations: 0.9457 MB / 0.5576 GB, free: 10.09 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005801/0.7793, allocations: 99.17 kB / 0.5577 GB, free: 9.996 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.7807, allocations: 223.8 kB / 0.5579 GB, free: 9.777 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005746/0.7813, allocations: 350.1 kB / 0.5582 GB, free: 9.441 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002301/0.7815, allocations: 140 kB / 0.5583 GB, free: 9.305 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003393/0.7849, allocations: 1.861 MB / 0.5602 GB, free: 7.465 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7849, allocations: 4.766 kB / 0.5602 GB, free: 7.461 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005556/0.7905, allocations: 1.715 MB / 0.5618 GB, free: 5.746 MB / 410.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.001331/0.7918, allocations: 0.5169 MB / 0.5623 GB, free: 5.418 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.007883/0.7997, allocations: 4.655 MB / 0.5669 GB, free: 0.9453 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.7997, allocations: 4.25 kB / 0.5669 GB, free: 0.9414 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003683/0.8034, allocations: 2.536 MB / 0.5694 GB, free: 14.46 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/0.8067, allocations: 0.9922 MB / 0.5703 GB, free: 13.5 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.173/0.9798, allocations: 15.03 MB / 0.585 GB, free: 123.4 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005187/0.9849, allocations: 2.752 MB / 0.5877 GB, free: 123.1 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.004967/0.9899, allocations: 1.766 MB / 0.5894 GB, free: 123 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/0.9912, allocations: 396.8 kB / 0.5898 GB, free: 123 MB / 426.8 MB Notification: Performance of SimCode: time 2.224e-06/0.9912, allocations: 4.375 kB / 0.5898 GB, free: 123 MB / 426.8 MB Notification: Performance of Templates: time 0.08374/1.075, allocations: 66.45 MB / 0.6547 GB, free: 75.57 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.839190192054957]