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.001007/0.001007, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001117/0.001117, allocations: 160.5 kB / 24.55 MB, free: 16 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.8893/0.8893, allocations: 177 MB / 204.8 MB, free: 5.574 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.473e-06/1.473e-06, allocations: 0 / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.049e-05, allocations: 2.312 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1242/0.1243, allocations: 21.23 MB / 294.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.1345, allocations: 6.697 MB / 300.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.1368, allocations: 171.4 kB / 301 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006895/0.1437, allocations: 7.303 MB / 308.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00445/0.1481, allocations: 2.881 MB / 311.2 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.1502, allocations: 1.578 MB / 312.8 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006746/0.157, allocations: 9.456 MB / 322.3 MB, free: 1.328 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01112/0.1681, allocations: 10.94 MB / 333.2 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006107/0.1742, allocations: 7.036 MB / 340.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004368/0.1785, allocations: 5.076 MB / 345.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001268/0.1798, allocations: 1.352 MB / 346.7 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.1817, allocations: 1.687 MB / 348.4 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001398/0.1831, allocations: 2.712 MB / 351.1 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00263/0.1857, allocations: 3.365 MB / 354.4 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006993/0.1927, allocations: 8.5 MB / 362.9 MB, free: 8.461 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1927, allocations: 0 / 362.9 MB, free: 8.461 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1927, allocations: 0 / 362.9 MB, free: 8.461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001208/0.1929, allocations: 0 / 362.9 MB, free: 8.461 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.01422/0.2071, allocations: 11.25 MB / 374.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2071, allocations: 19.92 kB / 374.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01721/0.2243, allocations: 7.3 MB / 381.5 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007367/0.2317, allocations: 5.518 MB / 387 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004001/0.2321, allocations: 0.5579 MB / 387.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.2334, allocations: 0.7381 MB / 388.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/0.2441, allocations: 6.75 MB / 395.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/0.2442, allocations: 11.95 kB / 395.1 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005494/0.2448, allocations: 315.9 kB / 395.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003298/0.2451, allocations: 496 kB / 395.9 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007774/0.2529, allocations: 4.025 MB / 399.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0314/0.2843, allocations: 32.7 MB / 432.6 MB, free: 1.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1211/0.4053, allocations: 7.022 MB / 439.6 MB, free: 87.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002458/0.4078, allocations: 1.372 MB / 441 MB, free: 87.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.4081, allocations: 124.1 kB / 441.1 MB, free: 87.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.4081, allocations: 78.2 kB / 441.2 MB, free: 87.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 5.681e-06/0.4081, allocations: 1.422 kB / 441.2 MB, free: 87.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.01661/0.4247, allocations: 10.13 MB / 451.3 MB, free: 86.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.4248, allocations: 95.23 kB / 451.4 MB, free: 86.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.427, allocations: 2.47 MB / 453.9 MB, free: 86.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.4272, allocations: 92.64 kB / 454 MB, free: 86.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.4283, allocations: 3.328 MB / 457.3 MB, free: 84.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005456/0.4288, allocations: 1.492 MB / 458.8 MB, free: 84.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009241/0.4297, allocations: 1.043 MB / 459.8 MB, free: 83.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.202e-05/0.4298, allocations: 476.8 kB / 460.3 MB, free: 83.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.4309, allocations: 0.8059 MB / 461.1 MB, free: 83.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.4326, allocations: 3.202 MB / 464.3 MB, free: 80.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003253/0.4358, allocations: 4.459 MB / 468.8 MB, free: 77.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-05/0.4359, allocations: 14.22 kB / 468.8 MB, free: 77.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.005772/0.4416, allocations: 4.646 MB / 473.4 MB, free: 77.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.4417, allocations: 26.44 kB / 473.4 MB, free: 77.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.356e-05/0.4417, allocations: 53.22 kB / 473.5 MB, free: 77.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/0.4438, allocations: 1.125 MB / 474.6 MB, free: 76.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.4457, allocations: 1.133 MB / 475.8 MB, free: 76.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006107/0.4518, allocations: 7.698 MB / 483.5 MB, free: 70.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.4533, allocations: 265.2 kB / 483.7 MB, free: 70.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.4536, allocations: 236.9 kB / 483.9 MB, free: 70.01 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.001276/0.4548, allocations: 481.5 kB / 484.4 MB, free: 69.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004828/0.4553, allocations: 488.2 kB / 484.9 MB, free: 69.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/0.4598, allocations: 3.746 MB / 488.6 MB, free: 66.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.4598, allocations: 43.47 kB / 488.7 MB, free: 66.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4598, allocations: 12 kB / 488.7 MB, free: 66.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.4598, allocations: 21.66 kB / 488.7 MB, free: 66.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.4704, allocations: 10.29 MB / 499 MB, free: 56.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.4704, allocations: 8 kB / 499 MB, free: 56.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/0.4719, allocations: 0.746 MB / 499.8 MB, free: 55.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.4737, allocations: 1.027 MB / 0.489 GB, free: 54.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/0.4739, allocations: 100.6 kB / 0.4891 GB, free: 54.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005419/0.4793, allocations: 7.251 MB / 0.4962 GB, free: 47.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4793, allocations: 10.17 kB / 0.4962 GB, free: 47.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005671/0.485, allocations: 4.859 MB / 0.501 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.486, allocations: 0.7864 MB / 0.5017 GB, free: 41.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/0.4863, allocations: 87.92 kB / 0.5018 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008715/0.4872, allocations: 199.8 kB / 0.502 GB, free: 41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/0.4875, allocations: 318.5 kB / 0.5023 GB, free: 40.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/0.4877, allocations: 124 kB / 0.5024 GB, free: 40.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001234/0.4889, allocations: 1.197 MB / 0.5036 GB, free: 39.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4889, allocations: 0 / 0.5036 GB, free: 39.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003283/0.4922, allocations: 1.383 MB / 0.505 GB, free: 37.98 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.0004577/0.4927, allocations: 274.4 kB / 0.5052 GB, free: 37.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004479/0.4971, allocations: 3.936 MB / 0.5091 GB, free: 33.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4971, allocations: 0 / 0.5091 GB, free: 33.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002235/0.4994, allocations: 2.326 MB / 0.5113 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.5011, allocations: 0.7533 MB / 0.5121 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.5125, allocations: 11.68 MB / 0.5235 GB, free: 19.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.5137, allocations: 2.103 MB / 0.5255 GB, free: 16.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00202/0.5158, allocations: 1.339 MB / 0.5268 GB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006263/0.5164, allocations: 324.4 kB / 0.5271 GB, free: 15.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/0.5164, allocations: 0.875 kB / 0.5272 GB, free: 15.3 MB / 378.7 MB Notification: Performance of Templates: time 0.1736/0.69, allocations: 57.51 MB / 0.5833 GB, free: 117.5 MB / 410.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: 4.476909704040736]