Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.002444, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009744/0.0009744, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002405, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8921/0.8921, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1567/1.049, allocations: 52.5 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.362e-05, allocations: 2.312 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01721/0.01724, allocations: 23.46 MB / 263.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009945/0.02718, allocations: 7.675 MB / 270.9 MB, free: 7.117 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.02829, allocations: 222.9 kB / 271.1 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007459/0.03575, allocations: 9.313 MB / 280.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.03913, allocations: 3.021 MB / 283.4 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.04092, allocations: 1.723 MB / 285.2 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006778/0.0477, allocations: 11.26 MB / 296.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01202/0.05972, allocations: 14.27 MB / 310.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007087/0.06681, allocations: 8.999 MB / 319.7 MB, free: 6.004 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1083/0.1751, allocations: 6.273 MB / 326 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003423/0.1786, allocations: 1.667 MB / 327.6 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003371/0.1819, allocations: 2.043 MB / 329.7 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001492/0.1834, allocations: 2.617 MB / 332.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002931/0.1864, allocations: 3.465 MB / 335.8 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009383/0.1957, allocations: 9.799 MB / 345.6 MB, free: 20.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.1957, allocations: 0 / 345.6 MB, free: 20.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1958, allocations: 0.6875 kB / 345.6 MB, free: 20.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001438/0.1959, allocations: 0 / 345.6 MB, free: 20.86 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.02497/0.2209, allocations: 13.84 MB / 359.4 MB, free: 17.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2209, allocations: 9.75 kB / 359.4 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0193/0.2402, allocations: 6.338 MB / 365.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008184/0.2484, allocations: 3.584 MB / 369.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004812/0.2489, allocations: 0.7085 MB / 370 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002787/0.2517, allocations: 0.9308 MB / 371 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02135/0.273, allocations: 7.727 MB / 378.7 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003428/0.2733, allocations: 19.03 kB / 378.7 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002237/0.2756, allocations: 385.9 kB / 379.1 MB, free: 3.457 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000351/0.2759, allocations: 0.5313 MB / 379.6 MB, free: 2.922 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01226/0.2882, allocations: 3.962 MB / 383.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05099/0.3392, allocations: 30.79 MB / 414.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007617/0.3468, allocations: 5.365 MB / 419.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/0.3486, allocations: 1.007 MB / 420.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003134/0.3489, allocations: 107 kB / 420.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.349, allocations: 73.69 kB / 420.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=398): time 6.933e-06/0.349, allocations: 4 kB / 420.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=404): time 0.0199/0.3689, allocations: 8.513 MB / 429.4 MB, free: 2.262 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.3689, allocations: 93.95 kB / 429.5 MB, free: 2.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002939/0.3719, allocations: 2.359 MB / 431.9 MB, free: 272 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005613/0.3724, allocations: 85.7 kB / 432 MB, free: 180 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001769/0.3742, allocations: 3.796 MB / 435.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00157/0.3758, allocations: 1.427 MB / 437.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001989/0.3777, allocations: 1.054 MB / 438.2 MB, free: 10.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.3778, allocations: 305.1 kB / 438.5 MB, free: 9.902 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.3792, allocations: 0.781 MB / 439.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002913/0.3821, allocations: 2.775 MB / 442.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004886/0.387, allocations: 4.339 MB / 446.4 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.735e-05/0.3871, allocations: 20 kB / 446.5 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.007532/0.3946, allocations: 3.931 MB / 450.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.573e-05/0.3947, allocations: 32 kB / 450.4 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.058e-05/0.3948, allocations: 72 kB / 450.5 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002258/0.397, allocations: 1.042 MB / 451.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003308/0.4003, allocations: 1.386 MB / 452.9 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005872/0.4062, allocations: 4.5 MB / 457.4 MB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003008/0.4092, allocations: 219.8 kB / 457.6 MB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007815/0.41, allocations: 232 kB / 457.9 MB, free: 5.793 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.002743/0.4127, allocations: 0.4889 MB / 458.3 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009318/0.4137, allocations: 359.7 kB / 458.7 MB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005143/0.4188, allocations: 2.754 MB / 461.5 MB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00318/0.422, allocations: 1.77 MB / 463.2 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.422, allocations: 11.98 kB / 463.2 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.644e-05/0.4221, allocations: 19.92 kB / 463.3 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/0.4382, allocations: 8.236 MB / 471.5 MB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.4382, allocations: 4 kB / 471.5 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/0.4403, allocations: 0.7295 MB / 472.2 MB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/0.4419, allocations: 0.5042 MB / 472.7 MB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002032/0.444, allocations: 0.941 MB / 473.7 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005059/0.4445, allocations: 79.98 kB / 473.7 MB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005265/0.4497, allocations: 4.138 MB / 477.9 MB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.4497, allocations: 7.562 kB / 477.9 MB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1286/0.5783, allocations: 3.394 MB / 481.3 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/0.5795, allocations: 80.72 kB / 481.4 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/0.5812, allocations: 107.7 kB / 481.5 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007914/0.582, allocations: 295.6 kB / 481.8 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003655/0.5823, allocations: 85.09 kB / 481.8 MB, free: 106 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001939/0.5843, allocations: 1.078 MB / 482.9 MB, free: 105.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5843, allocations: 0 / 482.9 MB, free: 105.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005113/0.5894, allocations: 1.607 MB / 484.5 MB, free: 105.9 MB / 410.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.0009415/0.5903, allocations: 266.6 kB / 484.8 MB, free: 105.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005582/0.5959, allocations: 3.313 MB / 488.1 MB, free: 105.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003025/0.5962, allocations: 94.47 kB / 488.2 MB, free: 105.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003755/0.6, allocations: 2.167 MB / 490.4 MB, free: 105.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005301/0.6053, allocations: 7.12 MB / 497.5 MB, free: 98.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06106/0.6663, allocations: 14.03 MB / 0.4995 GB, free: 93.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004019/0.6704, allocations: 1.866 MB / 0.5013 GB, free: 93.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002487/0.6728, allocations: 0.6662 MB / 0.502 GB, free: 93.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002222/0.6751, allocations: 0.8722 MB / 0.5028 GB, free: 93.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6751, allocations: 0 / 0.5028 GB, free: 93.21 MB / 410.7 MB Notification: Performance of Templates: time 0.08479/0.7599, allocations: 69.28 MB / 0.5705 GB, free: 37.91 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.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.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.046100092120469]