Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001888/0.001888, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001846/0.001846, allocations: 153.1 kB / 24.27 MB, free: 164 kB / 18.57 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 1.529/1.529, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.888e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01414/0.01417, allocations: 9.583 MB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006525/0.02069, allocations: 2.964 MB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.02183, allocations: 59.62 kB / 279.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.02355, allocations: 0.6247 MB / 280.6 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.02584, allocations: 0.8147 MB / 281.4 MB, free: 8.613 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008418/0.02669, allocations: 371.4 kB / 281.7 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003459/0.03015, allocations: 2.521 MB / 284.3 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.03182, allocations: 1.001 MB / 285.3 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/0.03486, allocations: 1.629 MB / 286.9 MB, free: 3.035 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.03737, allocations: 1.192 MB / 288.1 MB, free: 1.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006696/0.03804, allocations: 280 kB / 288.4 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.03913, allocations: 367.8 kB / 288.7 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.04018, allocations: 0.8141 MB / 289.5 MB, free: 400 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1297/0.1699, allocations: 0.8814 MB / 290.4 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005274/0.1752, allocations: 3.712 MB / 294.1 MB, free: 18.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.1752, allocations: 1.188 kB / 294.1 MB, free: 18.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1752, allocations: 0 / 294.1 MB, free: 18.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001498/0.1754, allocations: 0.7812 kB / 294.1 MB, free: 18.52 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.0065/0.1819, allocations: 2.914 MB / 297 MB, free: 17.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1819, allocations: 10.55 kB / 297.1 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.1831, allocations: 427.3 kB / 297.5 MB, free: 17.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/0.1864, allocations: 1.274 MB / 298.7 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.1865, allocations: 145.4 kB / 298.9 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003389/0.1868, allocations: 195.8 kB / 299.1 MB, free: 16.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004131/0.191, allocations: 2.344 MB / 301.4 MB, free: 16.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.129e-05/0.191, allocations: 10.83 kB / 301.4 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.1912, allocations: 78.88 kB / 301.5 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.1913, allocations: 88.78 kB / 301.6 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/0.1942, allocations: 1.471 MB / 303.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.2062, allocations: 9.076 MB / 312.1 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.2073, allocations: 0.7115 MB / 312.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.2087, allocations: 0.6955 MB / 313.5 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.2089, allocations: 44.41 kB / 313.6 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.209, allocations: 52.36 kB / 313.6 MB, free: 8.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 3.136e-06/0.209, allocations: 0 / 313.6 MB, free: 8.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.008568/0.2175, allocations: 3.557 MB / 317.2 MB, free: 5.785 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.2176, allocations: 64.41 kB / 317.3 MB, free: 5.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.2191, allocations: 1.424 MB / 318.7 MB, free: 4.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-05/0.2192, allocations: 45.7 kB / 318.7 MB, free: 4.223 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/0.2196, allocations: 1.076 MB / 319.8 MB, free: 3.137 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.2198, allocations: 438.8 kB / 320.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003871/0.2202, allocations: 308.2 kB / 320.5 MB, free: 2.406 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2204, allocations: 0.5824 MB / 321.1 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/0.221, allocations: 335.8 kB / 321.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007682/0.2217, allocations: 0.892 MB / 322.3 MB, free: 412 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.2237, allocations: 1.351 MB / 323.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.2237, allocations: 4 kB / 323.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003487/0.2272, allocations: 1.556 MB / 325.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.2272, allocations: 12.31 kB / 325.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.2273, allocations: 12 kB / 325.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.2285, allocations: 320.3 kB / 325.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.2296, allocations: 303.4 kB / 325.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007778/0.2374, allocations: 6.99 MB / 332.9 MB, free: 5.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.2388, allocations: 83.88 kB / 333 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.2389, allocations: 59.98 kB / 333 MB, free: 5.305 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001164/0.2401, allocations: 0.5148 MB / 333.5 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004295/0.2405, allocations: 183 kB / 333.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.2435, allocations: 1.219 MB / 334.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.2435, allocations: 12 kB / 334.9 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.2436, allocations: 4 kB / 334.9 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.2436, allocations: 3.984 kB / 334.9 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007755/0.2513, allocations: 3.368 MB / 338.3 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.2513, allocations: 4 kB / 338.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008447/0.2522, allocations: 184.7 kB / 338.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001516/0.2537, allocations: 390 kB / 338.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.2538, allocations: 34.72 kB / 338.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009422/0.2632, allocations: 8.819 MB / 347.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.2632, allocations: 8.031 kB / 347.7 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/0.2673, allocations: 1.81 MB / 349.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.2685, allocations: 254.9 kB / 349.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004129/0.2689, allocations: 27.98 kB / 349.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009479/0.2699, allocations: 67.92 kB / 349.9 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000396/0.2703, allocations: 92.11 kB / 350 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.2704, allocations: 39.92 kB / 350 MB, free: 3.766 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001655/0.272, allocations: 0.8374 MB / 350.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.272, allocations: 0 / 350.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002035/0.2741, allocations: 432 kB / 351.3 MB, free: 2.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004593/0.2745, allocations: 190.5 kB / 351.5 MB, free: 2.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003513/0.278, allocations: 1.727 MB / 353.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2781, allocations: 4.062 kB / 353.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002464/0.2805, allocations: 1.386 MB / 354.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.2826, allocations: 365 kB / 354.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007663/0.2903, allocations: 3.629 MB / 358.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/0.2918, allocations: 1.006 MB / 359.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00105/0.2929, allocations: 259.7 kB / 359.8 MB, free: 9.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.2932, allocations: 92.48 kB / 359.9 MB, free: 9.68 MB / 314.7 MB Notification: Performance of SimCode: time 2.315e-06/0.2932, allocations: 0 / 359.9 MB, free: 9.68 MB / 314.7 MB Notification: Performance of Templates: time 0.04577/0.3389, allocations: 22.84 MB / 382.8 MB, free: 3.223 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 5.687909450032748]