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.001006/0.001006, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001177/0.001177, allocations: 166.5 kB / 24.99 MB, free: 8.801 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.9113/0.9113, allocations: 177 MB / 205.2 MB, free: 5.586 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.824e-06/1.824e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.062e-05, allocations: 5.125 kB / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1329/0.1329, allocations: 21.1 MB / 294.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.1456, allocations: 6.687 MB / 300.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003324/0.1489, allocations: 172 kB / 301 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009228/0.1581, allocations: 7.284 MB / 308.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007621/0.1657, allocations: 2.865 MB / 311.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003099/0.1688, allocations: 1.58 MB / 312.7 MB, free: 7.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00804/0.1769, allocations: 9.454 MB / 322.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01218/0.189, allocations: 10.94 MB / 333.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007645/0.1967, allocations: 7.021 MB / 340.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005803/0.2025, allocations: 4.92 MB / 345.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002343/0.2048, allocations: 1.352 MB / 346.4 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003213/0.208, allocations: 1.691 MB / 348.1 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002192/0.2102, allocations: 2.716 MB / 350.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00498/0.2152, allocations: 3.361 MB / 354.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.226, allocations: 8.504 MB / 362.7 MB, free: 8.969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.226, allocations: 8 kB / 362.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.226, allocations: 0 / 362.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002569/0.2263, allocations: 0 / 362.7 MB, free: 8.961 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.02176/0.248, allocations: 11.26 MB / 374 MB, free: 13.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.2481, allocations: 11.98 kB / 374 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02834/0.2764, allocations: 7.288 MB / 381.3 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01554/0.292, allocations: 5.522 MB / 386.8 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004545/0.2924, allocations: 0.5617 MB / 387.3 MB, free: 160 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00476/0.2972, allocations: 0.7382 MB / 388.1 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0302/0.3274, allocations: 6.742 MB / 394.8 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000156/0.3275, allocations: 11.95 kB / 394.8 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000747/0.3283, allocations: 315.9 kB / 395.1 MB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004484/0.3287, allocations: 492.1 kB / 395.6 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01279/0.3415, allocations: 4.025 MB / 399.6 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03986/0.3814, allocations: 32.71 MB / 432.4 MB, free: 2.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1181/0.4995, allocations: 7.034 MB / 439.4 MB, free: 111.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002663/0.5022, allocations: 1.367 MB / 440.8 MB, free: 111.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/0.5025, allocations: 124.7 kB / 440.9 MB, free: 111.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.5025, allocations: 77.09 kB / 441 MB, free: 111.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 6.563e-06/0.5025, allocations: 3.344 kB / 441 MB, free: 111.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.01818/0.5207, allocations: 10.13 MB / 451.1 MB, free: 109.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.5207, allocations: 94.98 kB / 451.2 MB, free: 109.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/0.5232, allocations: 2.477 MB / 453.7 MB, free: 109.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.5233, allocations: 87.89 kB / 453.7 MB, free: 109.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.5244, allocations: 3.328 MB / 457.1 MB, free: 108.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006503/0.5251, allocations: 1.49 MB / 458.6 MB, free: 107.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009309/0.526, allocations: 1.04 MB / 459.6 MB, free: 107 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.563e-05/0.526, allocations: 487.8 kB / 460.1 MB, free: 106.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.5273, allocations: 0.8057 MB / 460.9 MB, free: 106.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.5292, allocations: 3.2 MB / 464.1 MB, free: 103.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003676/0.5329, allocations: 4.453 MB / 468.5 MB, free: 100.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.077e-05/0.5329, allocations: 15.59 kB / 468.5 MB, free: 100.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.006006/0.5389, allocations: 4.643 MB / 473.2 MB, free: 97.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.539, allocations: 32.47 kB / 473.2 MB, free: 97.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.112e-05/0.539, allocations: 56.09 kB / 473.3 MB, free: 97.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/0.5413, allocations: 1.118 MB / 474.4 MB, free: 96.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.5433, allocations: 1.134 MB / 475.5 MB, free: 95.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006433/0.5497, allocations: 7.702 MB / 483.2 MB, free: 88.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.5515, allocations: 256.6 kB / 483.5 MB, free: 87.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/0.5518, allocations: 234.9 kB / 483.7 MB, free: 87.73 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.001395/0.5532, allocations: 494.4 kB / 484.2 MB, free: 87.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005632/0.5538, allocations: 477.3 kB / 484.7 MB, free: 86.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00474/0.5585, allocations: 3.741 MB / 488.4 MB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.5585, allocations: 44 kB / 488.4 MB, free: 83.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.5585, allocations: 11.94 kB / 488.5 MB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.5585, allocations: 27.91 kB / 488.5 MB, free: 83.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.5705, allocations: 10.29 MB / 498.8 MB, free: 72.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.5705, allocations: 8.125 kB / 498.8 MB, free: 72.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.572, allocations: 0.7489 MB / 499.5 MB, free: 72.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001918/0.5739, allocations: 1.031 MB / 0.4888 GB, free: 71.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001841/0.5741, allocations: 95.97 kB / 0.4889 GB, free: 71.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005525/0.5796, allocations: 7.245 MB / 0.496 GB, free: 63.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5796, allocations: 4 kB / 0.496 GB, free: 63.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006036/0.5857, allocations: 4.866 MB / 0.5007 GB, free: 58.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.5868, allocations: 0.7903 MB / 0.5015 GB, free: 57.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003306/0.5871, allocations: 87.94 kB / 0.5016 GB, free: 57.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000962/0.5881, allocations: 195.8 kB / 0.5018 GB, free: 57.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004279/0.5885, allocations: 318.9 kB / 0.5021 GB, free: 57.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/0.5887, allocations: 135.9 kB / 0.5022 GB, free: 57.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001272/0.59, allocations: 1.193 MB / 0.5034 GB, free: 55.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.59, allocations: 0 / 0.5034 GB, free: 55.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003088/0.5931, allocations: 1.383 MB / 0.5047 GB, free: 54.42 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.0004326/0.5935, allocations: 274.3 kB / 0.505 GB, free: 54.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005146/0.5986, allocations: 3.934 MB / 0.5088 GB, free: 50.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.5986, allocations: 4 kB / 0.5088 GB, free: 50.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002554/0.6012, allocations: 2.314 MB / 0.5111 GB, free: 47.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.6034, allocations: 0.7643 MB / 0.5119 GB, free: 47.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.6168, allocations: 11.66 MB / 0.5232 GB, free: 35.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.6182, allocations: 2.1 MB / 0.5253 GB, free: 33.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002181/0.6204, allocations: 1.351 MB / 0.5266 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006206/0.621, allocations: 324.4 kB / 0.5269 GB, free: 31.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.621, allocations: 0 / 0.5269 GB, free: 31.42 MB / 378.7 MB Notification: Performance of Templates: time 0.165/0.786, allocations: 54.97 MB / 0.5806 GB, free: 124.8 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: 4.6686162310652435]