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.001232/0.001232, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001259/0.001259, allocations: 170.5 kB / 25.61 MB, free: 8.914 MB / 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.9744/0.9744, allocations: 177.1 MB / 206 MB, free: 4.5 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.212e-06/1.212e-06, allocations: 0 / 274.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.151e-05, allocations: 6.969 kB / 274.2 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01807/0.0181, allocations: 20.3 MB / 294.5 MB, free: 72 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.03075, allocations: 6.658 MB / 301.2 MB, free: 9.398 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004009/0.03476, allocations: 171.2 kB / 301.4 MB, free: 9.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01106/0.04582, allocations: 7.062 MB / 308.4 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008178/0.054, allocations: 2.851 MB / 311.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003746/0.05774, allocations: 1.566 MB / 312.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01108/0.06882, allocations: 9.475 MB / 322.3 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01471/0.08354, allocations: 10.94 MB / 333.3 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01004/0.09358, allocations: 7.048 MB / 340.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1276/0.2212, allocations: 5.078 MB / 345.4 MB, free: 31.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003989/0.2252, allocations: 1.352 MB / 346.7 MB, free: 31.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00512/0.2303, allocations: 1.689 MB / 348.4 MB, free: 31.22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003433/0.2337, allocations: 2.706 MB / 351.1 MB, free: 31.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006526/0.2403, allocations: 3.363 MB / 354.5 MB, free: 31.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.2512, allocations: 8.501 MB / 363 MB, free: 29.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2512, allocations: 0 / 363 MB, free: 29.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2512, allocations: 4.219 kB / 363 MB, free: 29.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003657/0.2516, allocations: 0 / 363 MB, free: 29.13 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.01774/0.2693, allocations: 10.39 MB / 373.4 MB, free: 24.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2693, allocations: 10.25 kB / 373.4 MB, free: 24.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/0.2856, allocations: 5.546 MB / 378.9 MB, free: 22.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007982/0.2936, allocations: 5.181 MB / 384.1 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003002/0.2939, allocations: 0.5545 MB / 384.7 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001941/0.2959, allocations: 0.7411 MB / 385.4 MB, free: 16.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009683/0.3055, allocations: 6.169 MB / 391.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.3057, allocations: 14.95 kB / 391.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005291/0.3062, allocations: 311.7 kB / 391.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002701/0.3065, allocations: 0.4883 MB / 392.4 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005367/0.3118, allocations: 3.136 MB / 395.5 MB, free: 6.715 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03988/0.3517, allocations: 32.26 MB / 427.8 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006501/0.3582, allocations: 6.256 MB / 434 MB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.3597, allocations: 1.169 MB / 435.2 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.3599, allocations: 123.1 kB / 435.3 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.3599, allocations: 83.45 kB / 435.4 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=410): time 5.38e-06/0.3599, allocations: 0 / 435.4 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of matching and sorting (n=415): time 0.01634/0.3763, allocations: 8.456 MB / 443.9 MB, free: 8.527 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.3763, allocations: 94.67 kB / 444 MB, free: 8.422 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.379, allocations: 2.446 MB / 446.4 MB, free: 6.309 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004844/0.3795, allocations: 89.7 kB / 446.5 MB, free: 6.215 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001562/0.381, allocations: 3.341 MB / 449.8 MB, free: 2.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009506/0.382, allocations: 1.51 MB / 451.3 MB, free: 1.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.3831, allocations: 1.064 MB / 452.4 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3832, allocations: 476.8 kB / 452.9 MB, free: 96 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009363/0.3841, allocations: 0.6188 MB / 453.5 MB, free: 15.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/0.3863, allocations: 3.033 MB / 456.5 MB, free: 11.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003734/0.39, allocations: 4.124 MB / 460.7 MB, free: 6.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.911e-05/0.3901, allocations: 16 kB / 460.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.00585/0.3959, allocations: 4.186 MB / 464.9 MB, free: 2.934 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.396, allocations: 28 kB / 464.9 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.069e-05/0.396, allocations: 48 kB / 464.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/0.3982, allocations: 1.085 MB / 466 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/0.4005, allocations: 1.041 MB / 467.1 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007183/0.4076, allocations: 7.382 MB / 474.4 MB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.4098, allocations: 167.9 kB / 474.6 MB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002823/0.41, allocations: 200.1 kB / 474.8 MB, free: 8.996 MB / 394.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.00201/0.412, allocations: 483.1 kB / 475.3 MB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006618/0.4127, allocations: 481.2 kB / 475.7 MB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004484/0.4172, allocations: 3.369 MB / 479.1 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.4172, allocations: 48 kB / 479.2 MB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.4172, allocations: 8 kB / 479.2 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/0.4172, allocations: 19.92 kB / 479.2 MB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.4305, allocations: 9.802 MB / 489 MB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.4305, allocations: 7.984 kB / 489 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.432, allocations: 0.6646 MB / 489.7 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/0.4343, allocations: 0.9803 MB / 490.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/0.4345, allocations: 99.97 kB / 490.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006204/0.4407, allocations: 6.937 MB / 497.7 MB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4407, allocations: 6.062 kB / 497.7 MB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1533/0.594, allocations: 4.285 MB / 0.4902 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00182/0.5958, allocations: 0.7199 MB / 0.4909 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000421/0.5963, allocations: 88.8 kB / 0.491 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009645/0.5972, allocations: 107.5 kB / 0.4911 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005977/0.5978, allocations: 320.7 kB / 0.4914 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002071/0.598, allocations: 99.12 kB / 0.4915 GB, free: 105.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001436/0.5995, allocations: 1.111 MB / 0.4926 GB, free: 105.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5995, allocations: 1.391 kB / 0.4926 GB, free: 105.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003613/0.6031, allocations: 1.386 MB / 0.4939 GB, free: 105.1 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.0004859/0.6036, allocations: 273.7 kB / 0.4942 GB, free: 105 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004337/0.6079, allocations: 3.555 MB / 0.4977 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6079, allocations: 3.75 kB / 0.4977 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002262/0.6102, allocations: 2.128 MB / 0.4997 GB, free: 104 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/0.6125, allocations: 0.7601 MB / 0.5005 GB, free: 103.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.6283, allocations: 11.53 MB / 0.5117 GB, free: 99.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/0.6306, allocations: 2.098 MB / 0.5138 GB, free: 99.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002053/0.6327, allocations: 0.5786 MB / 0.5144 GB, free: 99.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/0.6342, allocations: 0.8738 MB / 0.5152 GB, free: 99.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.893e-06/0.6342, allocations: 4 kB / 0.5152 GB, free: 99.27 MB / 410.7 MB Notification: Performance of Templates: time 0.07076/0.7049, allocations: 60.99 MB / 0.5748 GB, free: 50.45 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: 5.031921457033604]