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.0009488/0.0009488, allocations: 79.64 kB / 21.7 MB, free: 2.844 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.0008934/0.0008934, allocations: 162.6 kB / 24.99 MB, free: 9.332 MB / 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.908/0.908, allocations: 177 MB / 205.2 MB, free: 5.617 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.593e-06/1.593e-06, allocations: 0 / 273.1 MB, free: 1.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.003e-05, allocations: 2.312 kB / 273.1 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1327/0.1327, allocations: 24.31 MB / 297.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.1449, allocations: 7.953 MB / 305.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002617/0.1475, allocations: 218 kB / 305.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007931/0.1554, allocations: 8.935 MB / 314.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004403/0.1598, allocations: 3.162 MB / 317.6 MB, free: 4.324 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.162, allocations: 1.85 MB / 319.5 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006788/0.1688, allocations: 11.69 MB / 331.2 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01432/0.1831, allocations: 14.53 MB / 345.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008006/0.1911, allocations: 8.963 MB / 354.7 MB, free: 1.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00507/0.1961, allocations: 6.211 MB / 360.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001546/0.1977, allocations: 1.715 MB / 362.6 MB, free: 9.109 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.2, allocations: 2.163 MB / 364.8 MB, free: 6.945 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001927/0.202, allocations: 3.515 MB / 368.3 MB, free: 3.422 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003376/0.2053, allocations: 4.281 MB / 372.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009621/0.2149, allocations: 10.89 MB / 383.4 MB, free: 4.215 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.215, allocations: 0 / 383.4 MB, free: 4.215 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.215, allocations: 0 / 383.4 MB, free: 4.215 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002545/0.2152, allocations: 0 / 383.4 MB, free: 4.215 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.01988/0.2351, allocations: 14.39 MB / 397.8 MB, free: 5.723 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2351, allocations: 15.98 kB / 397.8 MB, free: 5.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02101/0.2561, allocations: 7.837 MB / 405.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008218/0.2644, allocations: 7.002 MB / 412.7 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003618/0.2647, allocations: 0.7146 MB / 413.4 MB, free: 6.047 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.2658, allocations: 0.953 MB / 414.3 MB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.2789, allocations: 8.484 MB / 422.8 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.279, allocations: 19.92 kB / 422.9 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006972/0.2797, allocations: 404 kB / 423.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003645/0.2801, allocations: 0.5552 MB / 423.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.2906, allocations: 4.715 MB / 428.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.229/0.5196, allocations: 41.78 MB / 470.3 MB, free: 95.44 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007026/0.5266, allocations: 6.706 MB / 477 MB, free: 93.12 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.5286, allocations: 1.545 MB / 478.5 MB, free: 91.92 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.5288, allocations: 143.4 kB / 478.7 MB, free: 91.78 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.5289, allocations: 84.83 kB / 478.8 MB, free: 91.69 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 6.442e-06/0.5289, allocations: 0 / 478.8 MB, free: 91.69 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.02375/0.5526, allocations: 12.71 MB / 491.5 MB, free: 79.34 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.5527, allocations: 98.95 kB / 491.6 MB, free: 79.23 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003314/0.556, allocations: 3.864 MB / 495.4 MB, free: 75.47 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002002/0.5562, allocations: 101.7 kB / 495.5 MB, free: 75.37 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.5576, allocations: 4.602 MB / 0.4884 GB, free: 71.34 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006652/0.5582, allocations: 1.644 MB / 0.49 GB, free: 69.71 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.5594, allocations: 1.336 MB / 0.4913 GB, free: 68.36 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.61e-05/0.5594, allocations: 484.6 kB / 0.4918 GB, free: 67.89 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.5608, allocations: 0.9685 MB / 0.4927 GB, free: 66.91 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.563, allocations: 4.192 MB / 0.4968 GB, free: 61.38 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004261/0.5673, allocations: 5.773 MB / 0.5025 GB, free: 54.29 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.779e-05/0.5673, allocations: 20 kB / 0.5025 GB, free: 54.27 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.007247/0.5746, allocations: 5.739 MB / 0.5081 GB, free: 48.51 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.5746, allocations: 32 kB / 0.5081 GB, free: 48.48 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.785e-05/0.5747, allocations: 68 kB / 0.5082 GB, free: 48.41 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/0.5771, allocations: 1.268 MB / 0.5094 GB, free: 47.14 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/0.5796, allocations: 1.384 MB / 0.5108 GB, free: 45.75 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007569/0.5872, allocations: 8.768 MB / 0.5193 GB, free: 36.75 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.59, allocations: 347.6 kB / 0.5197 GB, free: 36.41 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000538/0.5905, allocations: 303.9 kB / 0.52 GB, free: 36.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.001916/0.5925, allocations: 0.5452 MB / 0.5205 GB, free: 35.55 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007582/0.5932, allocations: 0.5986 MB / 0.5211 GB, free: 34.95 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006416/0.5996, allocations: 5.454 MB / 0.5264 GB, free: 29.43 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004023/0.6037, allocations: 2.982 MB / 0.5293 GB, free: 26.43 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.6037, allocations: 12 kB / 0.5293 GB, free: 26.41 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/0.6037, allocations: 27.91 kB / 0.5294 GB, free: 26.39 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.6176, allocations: 12.05 MB / 0.5411 GB, free: 14.23 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.6176, allocations: 8 kB / 0.5411 GB, free: 14.23 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.6192, allocations: 0.8074 MB / 0.5419 GB, free: 13.42 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/0.6214, allocations: 1.154 MB / 0.543 GB, free: 12.25 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/0.6216, allocations: 108 kB / 0.5431 GB, free: 12.15 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006542/0.6281, allocations: 8.271 MB / 0.5512 GB, free: 3.66 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.6281, allocations: 15.97 kB / 0.5512 GB, free: 3.645 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007578/0.6357, allocations: 5.395 MB / 0.5565 GB, free: 14.07 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/0.6373, allocations: 0.9457 MB / 0.5574 GB, free: 13.12 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003958/0.6377, allocations: 99.98 kB / 0.5575 GB, free: 13.02 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.6389, allocations: 219.8 kB / 0.5577 GB, free: 12.8 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005144/0.6394, allocations: 343.2 kB / 0.5581 GB, free: 12.47 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/0.6396, allocations: 144 kB / 0.5582 GB, free: 12.33 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.002269/0.6418, allocations: 1.861 MB / 0.56 GB, free: 10.49 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.6418, allocations: 3.938 kB / 0.56 GB, free: 10.48 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004039/0.6459, allocations: 1.715 MB / 0.5617 GB, free: 8.77 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.001129/0.647, allocations: 0.513 MB / 0.5622 GB, free: 8.402 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.006539/0.6536, allocations: 4.653 MB / 0.5667 GB, free: 3.707 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6536, allocations: 0 / 0.5667 GB, free: 3.707 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0032/0.6568, allocations: 2.535 MB / 0.5692 GB, free: 1.125 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/0.6595, allocations: 0.9955 MB / 0.5702 GB, free: 164 kB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1282/0.7877, allocations: 15.04 MB / 0.5849 GB, free: 118.5 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00288/0.7906, allocations: 2.748 MB / 0.5876 GB, free: 118.3 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.004038/0.7947, allocations: 1.768 MB / 0.5893 GB, free: 118.2 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.7957, allocations: 394.4 kB / 0.5897 GB, free: 118.2 MB / 394.8 MB Notification: Performance of SimCode: time 1.863e-06/0.7957, allocations: 0 / 0.5897 GB, free: 118.2 MB / 394.8 MB Notification: Performance of Templates: time 0.07401/0.8697, allocations: 66.46 MB / 0.6546 GB, free: 59.73 MB / 394.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.42153847287409]