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.001405/0.001405, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001537/0.001537, allocations: 161.6 kB / 24.27 MB, free: 172 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 1.514/1.514, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.383e-06/1.383e-06, allocations: 0 / 272.4 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.916e-05, allocations: 2.312 kB / 272.4 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1624/0.1624, allocations: 18.63 MB / 291 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.177, allocations: 6.524 MB / 297.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004978/0.182, allocations: 174.6 kB / 297.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01573/0.1977, allocations: 6.733 MB / 304.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009515/0.2072, allocations: 2.85 MB / 307.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004583/0.2118, allocations: 1.561 MB / 308.8 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01105/0.2229, allocations: 9.462 MB / 318.3 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0184/0.2413, allocations: 10.92 MB / 329.2 MB, free: 9.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01413/0.2554, allocations: 6.978 MB / 336.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009657/0.2651, allocations: 4.479 MB / 340.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003733/0.2688, allocations: 1.355 MB / 342 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005765/0.2746, allocations: 1.702 MB / 343.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003915/0.2785, allocations: 2.665 MB / 346.4 MB, free: 8.094 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00795/0.2864, allocations: 3.33 MB / 349.7 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0252/0.3116, allocations: 18.55 MB / 368.3 MB, free: 2.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3116, allocations: 4 kB / 368.3 MB, free: 2.152 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3116, allocations: 0 / 368.3 MB, free: 2.152 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004572/0.3121, allocations: 0 / 368.3 MB, free: 2.152 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.03365/0.3457, allocations: 10.58 MB / 378.9 MB, free: 7.488 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3458, allocations: 12.03 kB / 378.9 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03859/0.3844, allocations: 7.276 MB / 386.1 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01555/0.3999, allocations: 6.022 MB / 392.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000917/0.4008, allocations: 0.5539 MB / 392.7 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003574/0.4044, allocations: 0.7343 MB / 393.5 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03635/0.4408, allocations: 13.03 MB / 406.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003849/0.4411, allocations: 11.95 kB / 406.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002752/0.4439, allocations: 312 kB / 406.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007988/0.4447, allocations: 496.1 kB / 407.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03063/0.4753, allocations: 12.55 MB / 419.8 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1925/0.6679, allocations: 36.93 MB / 456.8 MB, free: 93.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/0.6799, allocations: 8.556 MB / 465.3 MB, free: 91.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003802/0.6837, allocations: 2.92 MB / 468.2 MB, free: 89.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000294/0.684, allocations: 117.9 kB / 468.4 MB, free: 89.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.684, allocations: 77.03 kB / 468.4 MB, free: 89.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 6.723e-06/0.684, allocations: 3.375 kB / 468.4 MB, free: 89.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.03123/0.7153, allocations: 16.89 MB / 485.3 MB, free: 77.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.7153, allocations: 90.67 kB / 485.4 MB, free: 77.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/0.7183, allocations: 2.691 MB / 488.1 MB, free: 75.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004496/0.7187, allocations: 93.69 kB / 488.2 MB, free: 74.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.7199, allocations: 3.149 MB / 491.3 MB, free: 72.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008787/0.7208, allocations: 1.445 MB / 492.8 MB, free: 70.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.7219, allocations: 0.9466 MB / 493.7 MB, free: 69.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.44e-05/0.722, allocations: 301.1 kB / 494 MB, free: 69.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/0.7248, allocations: 2.505 MB / 496.5 MB, free: 67.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003419/0.7282, allocations: 4.13 MB / 0.4889 GB, free: 62.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007041/0.7353, allocations: 7.195 MB / 0.496 GB, free: 54.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-05/0.7353, allocations: 20 kB / 0.496 GB, free: 54.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01198/0.7473, allocations: 8.21 MB / 0.504 GB, free: 46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.7474, allocations: 28 kB / 0.504 GB, free: 45.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.656e-05/0.7474, allocations: 48 kB / 0.5041 GB, free: 45.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003939/0.7514, allocations: 1.402 MB / 0.5054 GB, free: 44.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/0.7557, allocations: 1.135 MB / 0.5065 GB, free: 43.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/0.7684, allocations: 10.71 MB / 0.517 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/0.772, allocations: 263.7 kB / 0.5173 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008619/0.7729, allocations: 240.1 kB / 0.5175 GB, free: 31.98 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.004652/0.7776, allocations: 2.948 MB / 0.5204 GB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/0.7789, allocations: 493.7 kB / 0.5208 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/0.7892, allocations: 6.625 MB / 0.5273 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.491e-05/0.7892, allocations: 44 kB / 0.5273 GB, free: 21.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.7892, allocations: 8 kB / 0.5274 GB, free: 21.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.155e-05/0.7892, allocations: 27.84 kB / 0.5274 GB, free: 21.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/0.8093, allocations: 13.11 MB / 0.5402 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.8093, allocations: 8.75 kB / 0.5402 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002798/0.8121, allocations: 0.7528 MB / 0.5409 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003467/0.8156, allocations: 1.275 MB / 0.5422 GB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003915/0.816, allocations: 99.91 kB / 0.5423 GB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01268/0.8287, allocations: 9.669 MB / 0.5517 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.8287, allocations: 11.94 kB / 0.5517 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/0.8482, allocations: 10.08 MB / 0.5616 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002652/0.8509, allocations: 0.8607 MB / 0.5624 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006676/0.8516, allocations: 87.94 kB / 0.5625 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/0.8536, allocations: 199.7 kB / 0.5627 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008029/0.8544, allocations: 319.2 kB / 0.563 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003091/0.8547, allocations: 124 kB / 0.5631 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003485/0.8582, allocations: 1.792 MB / 0.5648 GB, free: 15.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8582, allocations: 4 kB / 0.5648 GB, free: 15.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005255/0.8634, allocations: 1.387 MB / 0.5662 GB, free: 13.66 MB / 410.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.0007873/0.8642, allocations: 266 kB / 0.5665 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01322/0.8774, allocations: 6.47 MB / 0.5728 GB, free: 6.898 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.8774, allocations: 0 / 0.5728 GB, free: 6.898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00782/0.8853, allocations: 3.318 MB / 0.576 GB, free: 3.559 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004768/0.89, allocations: 0.7596 MB / 0.5768 GB, free: 2.832 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1439/1.034, allocations: 14.29 MB / 0.5907 GB, free: 126.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00527/1.039, allocations: 4.602 MB / 0.5952 GB, free: 126.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003841/1.043, allocations: 1.596 MB / 0.5968 GB, free: 126.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009415/1.044, allocations: 323.1 kB / 0.5971 GB, free: 126.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/1.044, allocations: 4.625 kB / 0.5971 GB, free: 126.3 MB / 410.7 MB Notification: Performance of Templates: time 0.103/1.147, allocations: 54.93 MB / 0.6507 GB, free: 82.33 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.53477471601218]