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.002088/0.002088, allocations: 81.64 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002603/0.002603, allocations: 163.7 kB / 23.95 MB, free: 4.168 MB / 14.72 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.461/1.461, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 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.303e-06/1.303e-06, allocations: 0 / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.14e-05, allocations: 5.375 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02377/0.02379, allocations: 18.65 MB / 343.8 MB, free: 2.418 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.03778, allocations: 6.504 MB / 350.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003954/0.04173, allocations: 171.2 kB / 350.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01763/0.05936, allocations: 6.731 MB / 357.2 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.06948, allocations: 2.866 MB / 360 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004644/0.07413, allocations: 1.539 MB / 361.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01391/0.08804, allocations: 9.465 MB / 371 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01875/0.1068, allocations: 10.92 MB / 382 MB, free: 12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0139/0.1207, allocations: 6.989 MB / 388.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008739/0.1294, allocations: 4.475 MB / 393.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003334/0.1328, allocations: 1.356 MB / 394.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00514/0.1379, allocations: 1.691 MB / 396.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003356/0.1413, allocations: 2.665 MB / 399.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006158/0.1474, allocations: 3.326 MB / 402.5 MB, free: 7.469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02207/0.1695, allocations: 18.55 MB / 421 MB, free: 4.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.1695, allocations: 4 kB / 421 MB, free: 4.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1695, allocations: 4 kB / 421 MB, free: 4.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000389/0.1699, allocations: 0 / 421 MB, free: 4.859 MB / 382.1 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.03251/0.2024, allocations: 10.57 MB / 431.6 MB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.2024, allocations: 12.03 kB / 431.6 MB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03602/0.2385, allocations: 5.91 MB / 437.5 MB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/0.2517, allocations: 5.788 MB / 443.3 MB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006177/0.2523, allocations: 0.554 MB / 443.9 MB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002783/0.2551, allocations: 0.7343 MB / 444.6 MB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03157/0.2867, allocations: 13.03 MB / 457.6 MB, free: 16 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002671/0.2869, allocations: 11.95 kB / 457.6 MB, free: 4 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002021/0.289, allocations: 312 kB / 457.9 MB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005822/0.2895, allocations: 500 kB / 458.4 MB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02709/0.3166, allocations: 12.55 MB / 471 MB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2072/0.5238, allocations: 35.99 MB / 0.4951 GB, free: 94.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.5356, allocations: 8.521 MB / 0.5034 GB, free: 90.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003531/0.5391, allocations: 2.92 MB / 0.5063 GB, free: 88.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.5394, allocations: 95.14 kB / 0.5063 GB, free: 88.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.5394, allocations: 73.77 kB / 0.5064 GB, free: 88.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=410): time 6.653e-06/0.5394, allocations: 0 / 0.5064 GB, free: 88.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=415): time 0.03401/0.5734, allocations: 16.74 MB / 0.5228 GB, free: 72.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.5735, allocations: 102.7 kB / 0.5229 GB, free: 72.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003112/0.5766, allocations: 2.69 MB / 0.5255 GB, free: 69.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004209/0.577, allocations: 89.7 kB / 0.5256 GB, free: 69.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.5782, allocations: 3.146 MB / 0.5286 GB, free: 66.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008797/0.579, allocations: 1.442 MB / 0.5301 GB, free: 65.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.5802, allocations: 0.9466 MB / 0.531 GB, free: 64.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.888e-05/0.5802, allocations: 301.1 kB / 0.5313 GB, free: 63.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002957/0.5832, allocations: 2.505 MB / 0.5337 GB, free: 61.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003617/0.5868, allocations: 4.138 MB / 0.5378 GB, free: 56.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007215/0.594, allocations: 7.195 MB / 0.5448 GB, free: 48.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.392e-05/0.5941, allocations: 16 kB / 0.5448 GB, free: 48.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01158/0.6056, allocations: 7.971 MB / 0.5526 GB, free: 40.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.6057, allocations: 31.98 kB / 0.5526 GB, free: 40.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.245e-05/0.6057, allocations: 48 kB / 0.5527 GB, free: 40.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002992/0.6087, allocations: 1.195 MB / 0.5538 GB, free: 39.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003876/0.6126, allocations: 1.135 MB / 0.5549 GB, free: 38.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/0.625, allocations: 10.67 MB / 0.5653 GB, free: 27.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/0.6284, allocations: 267.9 kB / 0.5656 GB, free: 27.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004851/0.6289, allocations: 236 kB / 0.5658 GB, free: 26.89 MB / 430.1 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.003729/0.6327, allocations: 2.952 MB / 0.5687 GB, free: 23.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006836/0.6333, allocations: 353.7 kB / 0.569 GB, free: 23.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009907/0.6432, allocations: 6.629 MB / 0.5755 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.6433, allocations: 47.94 kB / 0.5756 GB, free: 16.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.6433, allocations: 8 kB / 0.5756 GB, free: 16.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-05/0.6433, allocations: 19.92 kB / 0.5756 GB, free: 16.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/0.6619, allocations: 13.08 MB / 0.5884 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/0.6619, allocations: 8.125 kB / 0.5884 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002779/0.6647, allocations: 0.7567 MB / 0.5891 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002724/0.6674, allocations: 1.085 MB / 0.5902 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002685/0.6677, allocations: 91.97 kB / 0.5903 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01411/0.6818, allocations: 9.616 MB / 0.5997 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.6818, allocations: 11.94 kB / 0.5997 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01743/0.6992, allocations: 9.944 MB / 0.6094 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002331/0.7016, allocations: 0.8606 MB / 0.6102 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005469/0.7021, allocations: 80 kB / 0.6103 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/0.7041, allocations: 203.7 kB / 0.6105 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007325/0.7048, allocations: 315.2 kB / 0.6108 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002842/0.7051, allocations: 124 kB / 0.6109 GB, free: 12.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002827/0.708, allocations: 1.798 MB / 0.6127 GB, free: 10.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.708, allocations: 0 / 0.6127 GB, free: 10.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004535/0.7125, allocations: 1.387 MB / 0.614 GB, free: 9.098 MB / 462.1 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.0006347/0.7131, allocations: 262.2 kB / 0.6143 GB, free: 8.832 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01227/0.7254, allocations: 6.476 MB / 0.6206 GB, free: 2.332 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/0.7254, allocations: 0.875 kB / 0.6206 GB, free: 2.332 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006876/0.7323, allocations: 3.298 MB / 0.6238 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003994/0.7363, allocations: 0.7433 MB / 0.6245 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02489/0.7612, allocations: 14.09 MB / 0.6383 GB, free: 76 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1597/0.9208, allocations: 4.598 MB / 0.6428 GB, free: 148.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003844/0.9247, allocations: 1.595 MB / 0.6443 GB, free: 148.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/0.9257, allocations: 321.8 kB / 0.6447 GB, free: 148.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.272e-06/0.9257, allocations: 0 / 0.6447 GB, free: 148.1 MB / 478.1 MB Notification: Performance of Templates: time 0.08366/1.009, allocations: 54.7 MB / 0.6981 GB, free: 111.6 MB / 478.1 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.424620371311903]