Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.0008855/0.0008855, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.0008924/0.0008924, allocations: 163.1 kB / 24.91 MB, free: 9.199 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.8517/0.8517, allocations: 177 MB / 205.2 MB, free: 5.449 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.297e-05, allocations: 2.312 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1176/0.1176, allocations: 20.31 MB / 293.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.1282, allocations: 6.984 MB / 300.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.1303, allocations: 175.2 kB / 300.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006806/0.1371, allocations: 7.262 MB / 308.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00462/0.1418, allocations: 2.881 MB / 311 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.1438, allocations: 1.576 MB / 312.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005552/0.1494, allocations: 9.472 MB / 322.1 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01029/0.1596, allocations: 11.3 MB / 333.4 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006019/0.1657, allocations: 7.052 MB / 340.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004984/0.1706, allocations: 5.135 MB / 345.6 MB, free: 9.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001799/0.1724, allocations: 1.352 MB / 346.9 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.1743, allocations: 1.687 MB / 348.6 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.1757, allocations: 2.712 MB / 351.3 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002362/0.178, allocations: 3.361 MB / 354.7 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006357/0.1844, allocations: 8.493 MB / 363.2 MB, free: 8.242 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1844, allocations: 3.938 kB / 363.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1844, allocations: 0 / 363.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.811e-05/0.1845, allocations: 0 / 363.2 MB, free: 8.238 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.01169/0.1962, allocations: 9.768 MB / 373 MB, free: 14.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.1962, allocations: 11.98 kB / 373 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/0.2114, allocations: 5.885 MB / 378.9 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004731/0.2161, allocations: 2.974 MB / 381.8 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.2164, allocations: 0.5578 MB / 382.4 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008194/0.2172, allocations: 0.7343 MB / 383.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006961/0.2242, allocations: 6.304 MB / 389.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.2243, allocations: 15.89 kB / 389.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005493/0.2248, allocations: 312 kB / 389.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003044/0.2251, allocations: 499.9 kB / 390.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004632/0.2297, allocations: 3.344 MB / 393.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/0.2528, allocations: 24.64 MB / 418.2 MB, free: 104 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005035/0.2578, allocations: 4.982 MB / 423.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.2589, allocations: 1.032 MB / 424.2 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/0.2591, allocations: 115.1 kB / 424.3 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.2591, allocations: 77.78 kB / 424.4 MB, free: 9.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 5.21e-06/0.2591, allocations: 3.938 kB / 424.4 MB, free: 9.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.01267/0.2718, allocations: 7.597 MB / 432 MB, free: 2.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2718, allocations: 94.66 kB / 432.1 MB, free: 2.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.2731, allocations: 1.809 MB / 433.9 MB, free: 312 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.2733, allocations: 93.7 kB / 434 MB, free: 212 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1082/0.3814, allocations: 2.859 MB / 436.9 MB, free: 93.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001128/0.3825, allocations: 1.45 MB / 438.3 MB, free: 92.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.3837, allocations: 0.8846 MB / 439.2 MB, free: 92.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.274e-05/0.3837, allocations: 305.1 kB / 439.5 MB, free: 92.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.3848, allocations: 0.6759 MB / 440.2 MB, free: 92.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.3861, allocations: 2.162 MB / 442.3 MB, free: 90.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002819/0.3889, allocations: 3.35 MB / 445.7 MB, free: 88.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-05/0.389, allocations: 14.97 kB / 445.7 MB, free: 88.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.003993/0.393, allocations: 3.401 MB / 449.1 MB, free: 88.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.393, allocations: 27.22 kB / 449.1 MB, free: 88.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.941e-05/0.393, allocations: 51.06 kB / 449.2 MB, free: 88.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/0.3947, allocations: 1.035 MB / 450.2 MB, free: 88.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.3965, allocations: 1.026 MB / 451.2 MB, free: 88.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/0.4009, allocations: 5.594 MB / 456.8 MB, free: 85.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.4022, allocations: 163.5 kB / 457 MB, free: 85.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/0.4024, allocations: 188 kB / 457.2 MB, free: 85.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00114/0.4035, allocations: 440.7 kB / 457.6 MB, free: 85.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004559/0.404, allocations: 338.1 kB / 457.9 MB, free: 85.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.4072, allocations: 2.794 MB / 460.7 MB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.4072, allocations: 42.75 kB / 460.8 MB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4072, allocations: 11.69 kB / 460.8 MB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/0.4072, allocations: 22.31 kB / 460.8 MB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007967/0.4152, allocations: 7.4 MB / 468.2 MB, free: 84.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.4152, allocations: 7.625 kB / 468.2 MB, free: 84.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.4165, allocations: 0.6465 MB / 468.9 MB, free: 84.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/0.418, allocations: 0.9359 MB / 469.8 MB, free: 83.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/0.4181, allocations: 89.09 kB / 469.9 MB, free: 83.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003774/0.4219, allocations: 5.247 MB / 475.1 MB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4219, allocations: 6.188 kB / 475.1 MB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.4254, allocations: 3.515 MB / 478.6 MB, free: 76.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007114/0.4261, allocations: 477.5 kB / 479.1 MB, free: 76.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/0.4264, allocations: 93.42 kB / 479.2 MB, free: 76.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007288/0.4271, allocations: 104.8 kB / 479.3 MB, free: 76.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/0.4274, allocations: 310.6 kB / 479.6 MB, free: 75.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.4275, allocations: 95.95 kB / 479.7 MB, free: 75.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005745/0.4281, allocations: 0.8443 MB / 480.5 MB, free: 74.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4281, allocations: 0 / 480.5 MB, free: 74.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00243/0.4305, allocations: 1.385 MB / 481.9 MB, free: 73.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,loadInertia.phi) * 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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003411/0.4309, allocations: 256.7 kB / 482.2 MB, free: 73.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002908/0.4338, allocations: 3.057 MB / 485.2 MB, free: 70.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.136e-05/0.4338, allocations: 43.84 kB / 485.3 MB, free: 70.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.4354, allocations: 1.825 MB / 487.1 MB, free: 68.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.437, allocations: 0.7511 MB / 487.9 MB, free: 68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009868/0.4468, allocations: 11.22 MB / 499.1 MB, free: 56.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.4479, allocations: 1.518 MB / 0.4889 GB, free: 55.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001215/0.4491, allocations: 0.5865 MB / 0.4894 GB, free: 54.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/0.4503, allocations: 0.7881 MB / 0.4902 GB, free: 53.79 MB / 378.7 MB Notification: Performance of SimCode: time 9.21e-07/0.4503, allocations: 4 kB / 0.4902 GB, free: 53.79 MB / 378.7 MB Notification: Performance of Templates: time 0.05957/0.5099, allocations: 60.09 MB / 0.5489 GB, free: 10.51 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_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_Inverter/IMC_Inverter.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: 3.9425775120034814]