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_Characteristics.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.0007348/0.0007348, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009022/0.001637, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007724/0.0007724, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001243/0.002016, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9415/0.9415, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09029/1.032, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.077e-06/1.081e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01678/0.01679, allocations: 23.51 MB / 268 MB, free: 6.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1403/0.157, allocations: 7.765 MB / 275.8 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005052/0.1621, allocations: 222.2 kB / 276 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01085/0.173, allocations: 9.322 MB / 285.4 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007502/0.1805, allocations: 3.02 MB / 288.4 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.1833, allocations: 1.724 MB / 290.1 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01025/0.1936, allocations: 11.37 MB / 301.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01567/0.2093, allocations: 14.29 MB / 315.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01045/0.2197, allocations: 8.993 MB / 324.7 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008435/0.2282, allocations: 6.288 MB / 331 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003819/0.232, allocations: 1.668 MB / 332.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003382/0.2354, allocations: 2.063 MB / 334.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.2371, allocations: 2.618 MB / 337.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003616/0.2407, allocations: 3.463 MB / 340.8 MB, free: 6.922 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008486/0.2492, allocations: 9.848 MB / 350.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.2492, allocations: 0 / 350.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2492, allocations: 0 / 350.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001616/0.2494, allocations: 0 / 350.7 MB, free: 13.46 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.01671/0.2661, allocations: 13.87 MB / 364.6 MB, free: 120 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2661, allocations: 8.031 kB / 364.6 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01657/0.2827, allocations: 6.315 MB / 370.9 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007045/0.2897, allocations: 3.607 MB / 374.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003447/0.2901, allocations: 0.7045 MB / 375.2 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/0.2911, allocations: 0.9194 MB / 376.1 MB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.3014, allocations: 7.767 MB / 383.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.3015, allocations: 10.77 kB / 383.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006571/0.3022, allocations: 386.3 kB / 384.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000352/0.3025, allocations: 0.5581 MB / 384.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00606/0.3086, allocations: 3.989 MB / 388.8 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03056/0.3391, allocations: 30.88 MB / 419.7 MB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006556/0.3457, allocations: 5.355 MB / 425 MB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.3473, allocations: 1.009 MB / 426.1 MB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.3475, allocations: 127 kB / 426.2 MB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.3476, allocations: 73.69 kB / 426.3 MB, free: 3.316 MB / 394.7 MB Notification: Performance of pre-optimization done (n=398): time 6.352e-06/0.3476, allocations: 0 / 426.3 MB, free: 3.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=404): time 0.1543/0.5019, allocations: 7.746 MB / 434 MB, free: 98.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.5019, allocations: 94.23 kB / 434.1 MB, free: 98.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/0.5049, allocations: 2.363 MB / 436.5 MB, free: 98.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.5051, allocations: 93.36 kB / 436.5 MB, free: 98.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.5066, allocations: 3.798 MB / 440.3 MB, free: 96.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007292/0.5074, allocations: 1.425 MB / 441.8 MB, free: 95.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009415/0.5083, allocations: 1.061 MB / 442.8 MB, free: 95.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.01e-05/0.5083, allocations: 301.1 kB / 443.1 MB, free: 94.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008946/0.5092, allocations: 0.7838 MB / 443.9 MB, free: 94.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.5106, allocations: 2.778 MB / 446.7 MB, free: 92.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002934/0.5135, allocations: 4.106 MB / 450.8 MB, free: 89.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.25e-05/0.5136, allocations: 21.12 kB / 450.8 MB, free: 89.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.005939/0.5195, allocations: 3.94 MB / 454.8 MB, free: 89.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.5196, allocations: 35.34 kB / 454.8 MB, free: 89.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/0.5197, allocations: 69.81 kB / 454.9 MB, free: 89.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002483/0.5221, allocations: 1.041 MB / 455.9 MB, free: 89.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00337/0.5255, allocations: 1.397 MB / 457.3 MB, free: 89.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006045/0.5316, allocations: 4.54 MB / 461.8 MB, free: 87.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/0.5342, allocations: 222 kB / 462 MB, free: 87.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003245/0.5345, allocations: 235.6 kB / 462.3 MB, free: 87.85 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002109/0.5366, allocations: 0.4927 MB / 462.8 MB, free: 87.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007444/0.5374, allocations: 366.4 kB / 463.1 MB, free: 87.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00459/0.542, allocations: 2.736 MB / 465.9 MB, free: 87.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002979/0.545, allocations: 1.772 MB / 467.6 MB, free: 87.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.545, allocations: 11.59 kB / 467.6 MB, free: 87.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.847e-05/0.545, allocations: 25.31 kB / 467.7 MB, free: 87.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/0.5589, allocations: 8.244 MB / 475.9 MB, free: 86.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.559, allocations: 7.125 kB / 475.9 MB, free: 86.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/0.561, allocations: 0.7328 MB / 476.7 MB, free: 86.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.5624, allocations: 0.5142 MB / 477.2 MB, free: 86.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/0.5641, allocations: 0.932 MB / 478.1 MB, free: 85.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.5643, allocations: 90.41 kB / 478.2 MB, free: 85.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004209/0.5685, allocations: 4.169 MB / 482.4 MB, free: 81.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.5685, allocations: 11.42 kB / 482.4 MB, free: 81.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004367/0.5729, allocations: 3.409 MB / 485.8 MB, free: 78.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006247/0.5735, allocations: 80.03 kB / 485.9 MB, free: 78.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.5745, allocations: 104 kB / 486 MB, free: 78.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003541/0.5749, allocations: 302 kB / 486.3 MB, free: 78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/0.575, allocations: 83.97 kB / 486.3 MB, free: 77.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001233/0.5762, allocations: 1.079 MB / 487.4 MB, free: 76.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.5762, allocations: 0 / 487.4 MB, free: 76.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004658/0.5809, allocations: 1.605 MB / 489 MB, free: 75.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004555/0.5813, allocations: 262.1 kB / 489.3 MB, free: 75.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004668/0.586, allocations: 3.229 MB / 492.5 MB, free: 72.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002115/0.5862, allocations: 98.62 kB / 492.6 MB, free: 72.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002263/0.5885, allocations: 1.699 MB / 494.3 MB, free: 70.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/0.5913, allocations: 1.215 MB / 495.5 MB, free: 69.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05447/0.6458, allocations: 14 MB / 0.4976 GB, free: 55.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001862/0.6476, allocations: 1.86 MB / 0.4994 GB, free: 53.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001941/0.6496, allocations: 0.6778 MB / 0.5001 GB, free: 52.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/0.651, allocations: 0.8896 MB / 0.5009 GB, free: 51.82 MB / 394.7 MB Notification: Performance of SimCode: time 2.495e-06/0.651, allocations: 0 / 0.5009 GB, free: 51.82 MB / 394.7 MB Notification: Performance of Templates: time 0.2146/0.8656, allocations: 68.6 MB / 0.5679 GB, free: 113.8 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_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_Characteristics/IMC_Characteristics.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.623712985776365]