Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 88.34 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004308/0.004308, allocations: 166.7 kB / 25.61 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9185/0.9185, allocations: 177 MB / 205.9 MB, free: 4.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 274.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.62e-05, allocations: 2.312 kB / 274.1 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.007814/0.00783, allocations: 9.45 MB / 283.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004493/0.01232, allocations: 3.033 MB / 286.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006983/0.01302, allocations: 63.56 kB / 286.7 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.01407, allocations: 0.617 MB / 287.3 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.01543, allocations: 0.8224 MB / 288.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.01597, allocations: 407.2 kB / 288.5 MB, free: 5.809 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00169/0.01766, allocations: 2.532 MB / 291.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.01866, allocations: 1.005 MB / 292.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.02049, allocations: 1.782 MB / 293.8 MB, free: 436 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009564/0.02145, allocations: 1.153 MB / 295 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.02167, allocations: 272 kB / 295.3 MB, free: 15 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.0221, allocations: 375.7 kB / 295.6 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000442/0.02254, allocations: 0.7828 MB / 296.4 MB, free: 13.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006124/0.02315, allocations: 0.8614 MB / 297.3 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.02469, allocations: 2.001 MB / 299.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.185e-06/0.02469, allocations: 0 / 299.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.02469, allocations: 0 / 299.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.02471, allocations: 4 kB / 299.3 MB, free: 10.98 MB / 282.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.002766/0.02747, allocations: 2.627 MB / 301.9 MB, free: 8.301 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.02751, allocations: 12.03 kB / 301.9 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006332/0.02814, allocations: 443.3 kB / 302.3 MB, free: 7.855 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.02933, allocations: 1.219 MB / 303.6 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.601e-05/0.02941, allocations: 148.2 kB / 303.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.02958, allocations: 192.3 kB / 303.9 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.03105, allocations: 1.433 MB / 305.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/0.03109, allocations: 11.92 kB / 305.3 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.0312, allocations: 80 kB / 305.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-05/0.03128, allocations: 87.69 kB / 305.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008132/0.03209, allocations: 0.5586 MB / 306.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006279/0.03837, allocations: 6.448 MB / 312.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000776/0.03914, allocations: 0.55 MB / 313.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.04028, allocations: 0.5402 MB / 313.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.04041, allocations: 52.91 kB / 313.7 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.04044, allocations: 46.33 kB / 313.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=95): time 2.554e-06/0.04044, allocations: 0 / 313.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=111): time 0.00506/0.0455, allocations: 2.579 MB / 316.3 MB, free: 9.488 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.04553, allocations: 64.41 kB / 316.3 MB, free: 9.414 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009766/0.04651, allocations: 1.045 MB / 317.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-05/0.04657, allocations: 45.64 kB / 317.4 MB, free: 8.305 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000591/0.04716, allocations: 1.038 MB / 318.5 MB, free: 7.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.04742, allocations: 416.5 kB / 318.9 MB, free: 6.844 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.04774, allocations: 253 kB / 319.1 MB, free: 6.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.04791, allocations: 0.5471 MB / 319.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.0482, allocations: 175.8 kB / 319.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.04875, allocations: 0.6829 MB / 320.5 MB, free: 4.977 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.04997, allocations: 0.9568 MB / 321.5 MB, free: 3.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.04997, allocations: 4 kB / 321.5 MB, free: 3.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001768/0.05174, allocations: 1.19 MB / 322.7 MB, free: 2.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.05176, allocations: 12.03 kB / 322.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.05177, allocations: 12 kB / 322.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007458/0.05252, allocations: 294 kB / 323 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/0.05323, allocations: 271.6 kB / 323.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004297/0.05753, allocations: 6.528 MB / 329.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/0.05805, allocations: 47.94 kB / 329.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-05/0.05813, allocations: 44 kB / 329.9 MB, free: 11.03 MB / 314.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.0003458/0.05848, allocations: 248.2 kB / 330.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.05871, allocations: 179.1 kB / 330.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.06026, allocations: 0.9662 MB / 331.3 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.06027, allocations: 12 kB / 331.3 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.06027, allocations: 4 kB / 331.3 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.06028, allocations: 7.969 kB / 331.3 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.06357, allocations: 2.281 MB / 333.6 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.06357, allocations: 0 / 333.6 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.0641, allocations: 168 kB / 333.7 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008435/0.06494, allocations: 325.4 kB / 334 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.038e-05/0.065, allocations: 31.98 kB / 334.1 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005201/0.0702, allocations: 8.285 MB / 342.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.07021, allocations: 7.938 kB / 342.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.07207, allocations: 1.396 MB / 343.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.07243, allocations: 227 kB / 344 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.07256, allocations: 27.98 kB / 344 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.073, allocations: 43.98 kB / 344.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.07315, allocations: 88.7 kB / 344.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.07321, allocations: 27.98 kB / 344.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005328/0.07374, allocations: 0.5798 MB / 344.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07374, allocations: 0 / 344.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001117/0.07486, allocations: 427.9 kB / 345.2 MB, free: 11.05 MB / 330.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002698/0.07513, allocations: 198.9 kB / 345.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.07664, allocations: 1.364 MB / 346.7 MB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.07664, allocations: 4 kB / 346.7 MB, free: 9.414 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.07772, allocations: 1.179 MB / 347.9 MB, free: 8.156 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.07887, allocations: 361.2 kB / 348.3 MB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004497/0.08336, allocations: 3.464 MB / 351.7 MB, free: 4.258 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.08379, allocations: 500 kB / 352.2 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004662/0.08425, allocations: 171.9 kB / 352.4 MB, free: 3.574 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006725/0.08492, allocations: 410 kB / 352.8 MB, free: 3.172 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.08492, allocations: 0 / 352.8 MB, free: 3.172 MB / 330.7 MB Notification: Performance of Templates: time 0.127/0.2119, allocations: 24.19 MB / 377 MB, free: 68.07 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5569851649925113]