Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009958/0.0009958, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009426/0.0009426, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9408/0.9408, allocations: 177.2 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 273 MB, free: 1.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.496e-05, allocations: 2.312 kB / 273 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1482/0.1483, allocations: 21.23 MB / 294.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.1613, allocations: 6.697 MB / 300.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003439/0.1648, allocations: 175.8 kB / 301.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009136/0.1739, allocations: 7.312 MB / 308.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00715/0.181, allocations: 2.881 MB / 311.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.1837, allocations: 1.575 MB / 312.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00749/0.1911, allocations: 9.466 MB / 322.3 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01253/0.2037, allocations: 10.95 MB / 333.3 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008155/0.2118, allocations: 7.036 MB / 340.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006407/0.2182, allocations: 4.924 MB / 345.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002502/0.2207, allocations: 1.359 MB / 346.6 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.2234, allocations: 1.698 MB / 348.3 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.2249, allocations: 2.712 MB / 351 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003656/0.2286, allocations: 3.361 MB / 354.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008337/0.2369, allocations: 8.509 MB / 362.9 MB, free: 8.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2369, allocations: 0 / 362.9 MB, free: 8.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2369, allocations: 0 / 362.9 MB, free: 8.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001012/0.237, allocations: 0 / 362.9 MB, free: 8.77 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.01451/0.2516, allocations: 11.26 MB / 374.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.2516, allocations: 8.031 kB / 374.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0171/0.2687, allocations: 7.288 MB / 381.5 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00684/0.2755, allocations: 5.534 MB / 387 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000279/0.2758, allocations: 0.5618 MB / 387.5 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008856/0.2767, allocations: 0.7343 MB / 388.3 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.2875, allocations: 6.742 MB / 395 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.2876, allocations: 7.953 kB / 395 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005428/0.2881, allocations: 312 kB / 395.3 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003293/0.2884, allocations: 500 kB / 395.8 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007763/0.2962, allocations: 4.025 MB / 399.9 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03211/0.3283, allocations: 32.69 MB / 432.5 MB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1552/0.4835, allocations: 7.025 MB / 439.6 MB, free: 87.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/0.4865, allocations: 1.366 MB / 440.9 MB, free: 87.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002717/0.4868, allocations: 123.2 kB / 441.1 MB, free: 87.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.4868, allocations: 81.2 kB / 441.1 MB, free: 87.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 5.841e-06/0.4868, allocations: 0 / 441.1 MB, free: 87.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.01806/0.5049, allocations: 10.13 MB / 451.3 MB, free: 86.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.505, allocations: 94.7 kB / 451.4 MB, free: 86.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.5076, allocations: 2.474 MB / 453.8 MB, free: 86.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.5078, allocations: 92.2 kB / 453.9 MB, free: 86.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.5092, allocations: 3.324 MB / 457.2 MB, free: 84.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006892/0.5099, allocations: 1.494 MB / 458.7 MB, free: 83.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/0.5109, allocations: 1.046 MB / 459.8 MB, free: 83.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.511, allocations: 478.9 kB / 460.3 MB, free: 83.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.5122, allocations: 0.8077 MB / 461.1 MB, free: 83.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.5141, allocations: 3.199 MB / 464.3 MB, free: 80.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003889/0.518, allocations: 4.459 MB / 468.7 MB, free: 77.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-05/0.518, allocations: 19 kB / 468.7 MB, free: 77.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.005896/0.5239, allocations: 4.641 MB / 473.4 MB, free: 77.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.524, allocations: 28.31 kB / 473.4 MB, free: 77.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-05/0.524, allocations: 54.41 kB / 473.5 MB, free: 77.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002081/0.5261, allocations: 1.122 MB / 474.6 MB, free: 77.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/0.5281, allocations: 1.13 MB / 475.7 MB, free: 76.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006415/0.5345, allocations: 7.707 MB / 483.4 MB, free: 70.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.536, allocations: 265.6 kB / 483.7 MB, free: 70.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/0.5363, allocations: 237 kB / 483.9 MB, free: 70.16 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.0014/0.5377, allocations: 485.3 kB / 484.4 MB, free: 69.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004872/0.5382, allocations: 482 kB / 484.9 MB, free: 69.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/0.5428, allocations: 3.756 MB / 488.6 MB, free: 66.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.5428, allocations: 40 kB / 488.6 MB, free: 66.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.5428, allocations: 12 kB / 488.7 MB, free: 66.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/0.5429, allocations: 23.25 kB / 488.7 MB, free: 66.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.555, allocations: 10.29 MB / 499 MB, free: 56.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.555, allocations: 8.766 kB / 499 MB, free: 56.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/0.5565, allocations: 0.7476 MB / 499.7 MB, free: 55.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/0.5584, allocations: 1.029 MB / 0.489 GB, free: 54.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/0.5586, allocations: 95.97 kB / 0.4891 GB, free: 54.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005658/0.5643, allocations: 7.239 MB / 0.4962 GB, free: 47.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.5643, allocations: 11.47 kB / 0.4962 GB, free: 47.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006077/0.5703, allocations: 4.864 MB / 0.5009 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.5716, allocations: 0.7864 MB / 0.5017 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.5719, allocations: 91.83 kB / 0.5018 GB, free: 41.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009275/0.5728, allocations: 195.8 kB / 0.502 GB, free: 41.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004104/0.5732, allocations: 315.5 kB / 0.5023 GB, free: 41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/0.5734, allocations: 128 kB / 0.5024 GB, free: 40.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001409/0.5748, allocations: 1.205 MB / 0.5036 GB, free: 39.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5748, allocations: 0 / 0.5036 GB, free: 39.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003342/0.5781, allocations: 1.383 MB / 0.5049 GB, free: 38.28 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.000481/0.5786, allocations: 263.9 kB / 0.5052 GB, free: 38.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004928/0.5835, allocations: 3.937 MB / 0.509 GB, free: 34.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5836, allocations: 0 / 0.509 GB, free: 34.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002406/0.586, allocations: 2.323 MB / 0.5113 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.5878, allocations: 0.7763 MB / 0.5121 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/0.6013, allocations: 11.66 MB / 0.5234 GB, free: 19.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.6026, allocations: 2.104 MB / 0.5255 GB, free: 17.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002172/0.6048, allocations: 1.343 MB / 0.5268 GB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006383/0.6055, allocations: 324.4 kB / 0.5271 GB, free: 15.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.973e-06/0.6055, allocations: 0 / 0.5271 GB, free: 15.59 MB / 378.7 MB Notification: Performance of Templates: time 0.1959/0.8013, allocations: 54.99 MB / 0.5808 GB, free: 117.4 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.888429619371891]