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.001554/0.001554, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001393/0.001393, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 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.456/1.456, allocations: 173.3 MB / 200.4 MB, free: 12.85 MB / 190.1 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.352e-06/1.352e-06, allocations: 0 / 318.9 MB, free: 3.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.162e-05, allocations: 2.281 kB / 318.9 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.009828/0.00985, allocations: 8.589 MB / 327.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006957/0.01681, allocations: 2.865 MB / 330.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.01833, allocations: 60.75 kB / 330.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.02017, allocations: 0.6265 MB / 331.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.02299, allocations: 0.8137 MB / 331.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.02418, allocations: 371.6 kB / 332.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004524/0.0287, allocations: 2.532 MB / 334.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.03039, allocations: 0.9956 MB / 335.8 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/0.0334, allocations: 1.613 MB / 337.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.03529, allocations: 1.106 MB / 338.5 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004189/0.03571, allocations: 278.3 kB / 338.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000829/0.03653, allocations: 372.1 kB / 339.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009263/0.03746, allocations: 0.8066 MB / 340 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.03869, allocations: 0.8762 MB / 340.8 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005038/0.04373, allocations: 3.688 MB / 344.5 MB, free: 1.855 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.04373, allocations: 0 / 344.5 MB, free: 1.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.04373, allocations: 3.938 kB / 344.5 MB, free: 1.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.249e-05/0.04382, allocations: 4 kB / 344.5 MB, free: 1.848 MB / 302.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.00557/0.04939, allocations: 2.541 MB / 347.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.04943, allocations: 12.92 kB / 347.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000715/0.05015, allocations: 271.4 kB / 347.3 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.05251, allocations: 1.285 MB / 348.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.05265, allocations: 140.2 kB / 348.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003223/0.05297, allocations: 204.3 kB / 349 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004375/0.05735, allocations: 2.516 MB / 351.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.779e-05/0.0574, allocations: 11.89 kB / 351.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/0.0576, allocations: 83.98 kB / 351.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.05772, allocations: 87.67 kB / 351.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003564/0.06128, allocations: 1.955 MB / 353.6 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.07317, allocations: 6.767 MB / 360.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.07489, allocations: 1.002 MB / 361.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.07696, allocations: 0.9094 MB / 362.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.0772, allocations: 52.89 kB / 362.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.07724, allocations: 39.56 kB / 362.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 2.996e-06/0.07724, allocations: 0 / 362.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.01346/0.0907, allocations: 5.5 MB / 367.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.09075, allocations: 60.41 kB / 367.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.09255, allocations: 1.17 MB / 369.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.988e-05/0.09265, allocations: 45.7 kB / 369.2 MB, free: 8.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007922/0.09344, allocations: 0.941 MB / 370.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.09381, allocations: 404.6 kB / 370.5 MB, free: 7.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004312/0.09424, allocations: 247.5 kB / 370.7 MB, free: 7.145 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.09444, allocations: 365.9 kB / 371.1 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.09555, allocations: 0.6403 MB / 371.7 MB, free: 6.141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.09705, allocations: 1.001 MB / 372.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002746/0.0998, allocations: 1.727 MB / 374.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.0998, allocations: 4 kB / 374.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004071/0.1039, allocations: 2.227 MB / 376.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.1039, allocations: 12.03 kB / 376.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.1039, allocations: 12 kB / 376.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.1052, allocations: 499.8 kB / 377.2 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.1064, allocations: 303.5 kB / 377.5 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007925/0.1143, allocations: 6.698 MB / 384.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.1154, allocations: 91.86 kB / 384.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.1156, allocations: 56.06 kB / 384.3 MB, free: 8.891 MB / 350.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.00117/0.1167, allocations: 0.595 MB / 384.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.117, allocations: 143.1 kB / 385.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003873/0.1209, allocations: 1.944 MB / 387 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.1209, allocations: 12 kB / 387 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.1209, allocations: 4 kB / 387 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.1209, allocations: 7.984 kB / 387 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007051/0.128, allocations: 3.634 MB / 390.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.128, allocations: 4 kB / 390.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/0.1289, allocations: 180 kB / 390.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/0.1304, allocations: 0.538 MB / 391.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.723e-05/0.1305, allocations: 35.97 kB / 391.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009414/0.1399, allocations: 8.194 MB / 399.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1399, allocations: 4.031 kB / 399.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005304/0.1452, allocations: 2.828 MB / 402.5 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008657/0.1461, allocations: 267 kB / 402.7 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004091/0.1465, allocations: 28 kB / 402.7 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.1475, allocations: 71.92 kB / 402.8 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003052/0.1479, allocations: 96.73 kB / 402.9 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.148, allocations: 35.98 kB / 402.9 MB, free: 5.691 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001472/0.1494, allocations: 0.7828 MB / 403.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1494, allocations: 0 / 403.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001878/0.1513, allocations: 435.9 kB / 404.1 MB, free: 4.477 MB / 366.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.0006171/0.1519, allocations: 183.6 kB / 404.3 MB, free: 4.289 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004034/0.156, allocations: 1.998 MB / 406.3 MB, free: 2.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/0.156, allocations: 4 kB / 406.3 MB, free: 2.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0025/0.1585, allocations: 1.374 MB / 407.7 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.1605, allocations: 356.4 kB / 408.1 MB, free: 480 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007348/0.1678, allocations: 3.957 MB / 412 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.1695, allocations: 1.072 MB / 413.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00109/0.1706, allocations: 307.7 kB / 413.4 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.171, allocations: 100.4 kB / 413.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.171, allocations: 0 / 413.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of Templates: time 0.04326/0.2142, allocations: 22.65 MB / 436.1 MB, free: 4.578 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] 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.281566623598337]