Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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.0009886/0.0009886, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001311/0.001311, allocations: 162.4 kB / 24.99 MB, free: 9.281 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.9816/0.9816, allocations: 177 MB / 205.2 MB, free: 5.613 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.189e-05, allocations: 5.125 kB / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01345/0.01348, allocations: 17.23 MB / 290.3 MB, free: 432 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1114/0.1248, allocations: 5.867 MB / 296.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.1272, allocations: 148.1 kB / 296.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.13, allocations: 1.366 MB / 297.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003877/0.1338, allocations: 1.889 MB / 299.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.1356, allocations: 1.097 MB / 300.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005172/0.1408, allocations: 6.66 MB / 307.3 MB, free: 9.496 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00317/0.1439, allocations: 2.782 MB / 310.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005007/0.149, allocations: 4.503 MB / 314.6 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003261/0.1522, allocations: 3.219 MB / 317.8 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.1534, allocations: 0.7901 MB / 318.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.1549, allocations: 1.073 MB / 319.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000866/0.1558, allocations: 1.963 MB / 321.6 MB, free: 244 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002874/0.1586, allocations: 2.331 MB / 323.9 MB, free: 14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006046/0.1647, allocations: 5.584 MB / 329.5 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1647, allocations: 0 / 329.5 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1647, allocations: 0 / 329.5 MB, free: 8.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000194/0.1649, allocations: 0 / 329.5 MB, free: 8.672 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.00971/0.1746, allocations: 6.949 MB / 336.5 MB, free: 1.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1746, allocations: 11.98 kB / 336.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003598/0.1782, allocations: 1.643 MB / 338.1 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004074/0.1823, allocations: 3.454 MB / 341.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.1825, allocations: 367.5 kB / 341.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000475/0.183, allocations: 487.5 kB / 342.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005903/0.1889, allocations: 4.113 MB / 346.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.647e-05/0.1889, allocations: 4 kB / 346.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003244/0.1893, allocations: 206.1 kB / 346.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/0.1894, allocations: 245.9 kB / 347 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003736/0.1932, allocations: 1.861 MB / 348.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01913/0.2123, allocations: 16.39 MB / 365.2 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003846/0.2162, allocations: 3.095 MB / 368.3 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.2178, allocations: 1.183 MB / 369.5 MB, free: 500 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006198/0.224, allocations: 3.888 MB / 373.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.224, allocations: 63.39 kB / 373.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=219): time 3.858e-06/0.224, allocations: 0 / 373.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=226): time 0.009197/0.2332, allocations: 5.314 MB / 378.8 MB, free: 7.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.2333, allocations: 77.41 kB / 378.9 MB, free: 7.141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.2359, allocations: 2.241 MB / 381.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.2361, allocations: 61.7 kB / 381.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.2372, allocations: 2.391 MB / 383.5 MB, free: 2.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004825/0.2377, allocations: 0.8241 MB / 384.4 MB, free: 1.598 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005429/0.2383, allocations: 499.7 kB / 384.9 MB, free: 1.102 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2384, allocations: 476.8 kB / 385.3 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007142/0.2391, allocations: 392.9 kB / 385.7 MB, free: 252 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.2405, allocations: 1.312 MB / 387 MB, free: 14.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.2425, allocations: 1.872 MB / 388.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.2425, allocations: 4 kB / 388.9 MB, free: 12.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.003435/0.2459, allocations: 2.326 MB / 391.2 MB, free: 9.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.2459, allocations: 12.5 kB / 391.2 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.2459, allocations: 31.98 kB / 391.3 MB, free: 9.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.2475, allocations: 0.6341 MB / 391.9 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.2487, allocations: 0.5655 MB / 392.5 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006395/0.2551, allocations: 10.01 MB / 402.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.2564, allocations: 111.9 kB / 402.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.2565, allocations: 100 kB / 402.7 MB, free: 14.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001131/0.2576, allocations: 320.5 kB / 403 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005252/0.2582, allocations: 382 kB / 403.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003038/0.2612, allocations: 2.036 MB / 405.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.2612, allocations: 24 kB / 405.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.2612, allocations: 15.94 kB / 405.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.2612, allocations: 11.95 kB / 405.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007487/0.2687, allocations: 5.593 MB / 411 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.2687, allocations: 3.938 kB / 411 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008433/0.2696, allocations: 347.8 kB / 411.4 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/0.2714, allocations: 0.7915 MB / 412.2 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.2715, allocations: 63.97 kB / 412.2 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008712/0.2802, allocations: 14.9 MB / 427.1 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2802, allocations: 7.969 kB / 427.1 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/0.2845, allocations: 2.72 MB / 429.9 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.2856, allocations: 0.5526 MB / 430.4 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/0.2859, allocations: 55.92 kB / 430.5 MB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006948/0.2866, allocations: 115.9 kB / 430.6 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/0.2869, allocations: 197.5 kB / 430.8 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.435e-05/0.287, allocations: 63.98 kB / 430.8 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1009/0.3879, allocations: 1.256 MB / 432.1 MB, free: 115.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3879, allocations: 3.844 kB / 432.1 MB, free: 115.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002946/0.3909, allocations: 0.9407 MB / 433 MB, free: 115.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005919/0.3915, allocations: 264 kB / 433.3 MB, free: 115 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003179/0.3946, allocations: 2.441 MB / 435.7 MB, free: 114.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3946, allocations: 1.594 kB / 435.7 MB, free: 114.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002006/0.3966, allocations: 2.197 MB / 437.9 MB, free: 113.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/0.3997, allocations: 0.7545 MB / 438.7 MB, free: 113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.4114, allocations: 8.092 MB / 446.8 MB, free: 109.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.4124, allocations: 1.324 MB / 448.1 MB, free: 109.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001495/0.4139, allocations: 0.5928 MB / 448.7 MB, free: 109.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/0.4143, allocations: 185.2 kB / 448.9 MB, free: 109.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/0.4143, allocations: 0 / 448.9 MB, free: 109.5 MB / 378.7 MB Notification: Performance of Templates: time 0.04931/0.4636, allocations: 43.6 MB / 492.5 MB, free: 74.03 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.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: 4.418791308067739]