Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.00157/0.00157, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001942/0.001942, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.582/1.582, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 55.92 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1382, allocations: 53.33 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.242/0.3801, allocations: 9.772 MB / 436.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006639/0.3868, allocations: 3.102 MB / 439.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.3886, allocations: 63.94 kB / 439.8 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.3905, allocations: 0.6633 MB / 440.4 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.3936, allocations: 0.7852 MB / 441.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.3949, allocations: 386.7 kB / 441.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0043/0.3992, allocations: 2.431 MB / 444 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.4012, allocations: 1.28 MB / 445.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/0.4037, allocations: 1.113 MB / 446.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.4058, allocations: 1.348 MB / 447.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004917/0.4063, allocations: 278.8 kB / 448 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.4073, allocations: 385 kB / 448.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007943/0.4081, allocations: 0.7854 MB / 449.2 MB, free: 116 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.4097, allocations: 1.269 MB / 450.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005502/0.4152, allocations: 3.672 MB / 454.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4152, allocations: 3.938 kB / 454.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4152, allocations: 0 / 454.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001029/0.4153, allocations: 0 / 454.1 MB, free: 13.89 MB / 366.1 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.006494/0.4218, allocations: 2.667 MB / 456.8 MB, free: 12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4219, allocations: 9.375 kB / 456.8 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009872/0.4229, allocations: 290.8 kB / 457.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/0.4256, allocations: 1.368 MB / 458.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.4257, allocations: 142.9 kB / 458.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003369/0.4261, allocations: 196.6 kB / 458.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00484/0.4309, allocations: 2.416 MB / 461.2 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.883e-05/0.431, allocations: 6.281 kB / 461.2 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.4312, allocations: 77.72 kB / 461.3 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.4313, allocations: 86.58 kB / 461.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003953/0.4353, allocations: 1.962 MB / 463.3 MB, free: 8.211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01518/0.4505, allocations: 7.782 MB / 471.1 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.4524, allocations: 1.152 MB / 472.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.4544, allocations: 0.9178 MB / 473.2 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/0.4546, allocations: 120.3 kB / 473.3 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.4547, allocations: 47.62 kB / 473.4 MB, free: 1.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.096e-06/0.4547, allocations: 1.375 kB / 473.4 MB, free: 1.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01533/0.47, allocations: 5.883 MB / 479.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.4701, allocations: 60.41 kB / 479.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/0.4724, allocations: 1.314 MB / 480.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001511/0.4725, allocations: 45.7 kB / 480.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008614/0.4734, allocations: 0.942 MB / 481.6 MB, free: 9.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004512/0.4738, allocations: 408.5 kB / 482 MB, free: 8.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004637/0.4743, allocations: 247.5 kB / 482.2 MB, free: 8.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002523/0.4746, allocations: 369.9 kB / 482.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.476, allocations: 0.6333 MB / 483.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.4775, allocations: 1.008 MB / 484.2 MB, free: 6.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002819/0.4804, allocations: 1.724 MB / 486 MB, free: 4.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.4804, allocations: 8 kB / 486 MB, free: 4.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.0046/0.485, allocations: 2.238 MB / 488.2 MB, free: 2.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.485, allocations: 8.625 kB / 488.2 MB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.485, allocations: 12 kB / 488.2 MB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.4864, allocations: 0.49 MB / 488.7 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.4876, allocations: 307.4 kB / 489 MB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008783/0.4964, allocations: 7.141 MB / 496.2 MB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.4979, allocations: 90.84 kB / 496.3 MB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.4981, allocations: 52 kB / 496.3 MB, free: 9.73 MB / 398.1 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.001217/0.4993, allocations: 0.611 MB / 496.9 MB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003314/0.4996, allocations: 155 kB / 497.1 MB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/0.5037, allocations: 1.953 MB / 499 MB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.5037, allocations: 12 kB / 499 MB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.5037, allocations: 4 kB / 499 MB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.5037, allocations: 3.984 kB / 499 MB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008265/0.512, allocations: 4.115 MB / 0.4914 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.512, allocations: 4 kB / 0.4914 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009357/0.5129, allocations: 183.7 kB / 0.4915 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.5147, allocations: 0.5429 MB / 0.4921 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.431e-05/0.5148, allocations: 35.92 kB / 0.4921 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/0.5249, allocations: 8.748 MB / 0.5006 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.5249, allocations: 7.938 kB / 0.5007 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005541/0.5305, allocations: 2.864 MB / 0.5035 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.5316, allocations: 360 kB / 0.5038 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.5318, allocations: 24 kB / 0.5038 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008705/0.5327, allocations: 67.92 kB / 0.5039 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/0.533, allocations: 92.84 kB / 0.504 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.404e-05/0.5331, allocations: 31.98 kB / 0.504 GB, free: 5.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001749/0.5348, allocations: 0.8958 MB / 0.5049 GB, free: 4.258 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5348, allocations: 0 / 0.5049 GB, free: 4.258 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001896/0.5367, allocations: 436 kB / 0.5053 GB, free: 3.832 MB / 414.1 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.0004615/0.5372, allocations: 191.6 kB / 0.5055 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004088/0.5413, allocations: 2.15 MB / 0.5076 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5413, allocations: 0.6875 kB / 0.5076 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002516/0.5438, allocations: 1.467 MB / 0.509 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.5461, allocations: 415.2 kB / 0.5094 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007958/0.5541, allocations: 4.167 MB / 0.5135 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/0.5557, allocations: 1.658 MB / 0.5151 GB, free: 9.555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001168/0.5568, allocations: 320.8 kB / 0.5154 GB, free: 9.234 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.5572, allocations: 99.42 kB / 0.5155 GB, free: 9.137 MB / 430.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5572, allocations: 3.938 kB / 0.5155 GB, free: 9.133 MB / 430.1 MB Notification: Performance of Templates: time 0.04683/0.604, allocations: 24.49 MB / 0.5394 GB, free: 0.875 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.927516516298056]