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.001263/0.001263, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001288/0.001288, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9351/0.9351, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.302e-06/1.302e-06, allocations: 3.938 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.906e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.008101/0.00812, allocations: 9.692 MB / 282.7 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005023/0.01314, allocations: 3.046 MB / 285.7 MB, free: 4.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009505/0.01409, allocations: 59.62 kB / 285.8 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.01533, allocations: 0.6208 MB / 286.4 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.01715, allocations: 0.8225 MB / 287.2 MB, free: 3.211 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006934/0.01784, allocations: 403.2 kB / 287.6 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002176/0.02002, allocations: 2.523 MB / 290.2 MB, free: 288 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.118/0.138, allocations: 1.002 MB / 291.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.1405, allocations: 1.78 MB / 292.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.1419, allocations: 1.153 MB / 294.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005153/0.1425, allocations: 272 kB / 294.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006466/0.1431, allocations: 366.3 kB / 294.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005711/0.1437, allocations: 0.7759 MB / 295.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.1448, allocations: 0.8696 MB / 296.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.1468, allocations: 2.001 MB / 298.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1468, allocations: 0.625 kB / 298.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1468, allocations: 2.156 kB / 298.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.336e-05/0.1469, allocations: 0 / 298.4 MB, free: 15.75 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.003268/0.1501, allocations: 2.677 MB / 301 MB, free: 14.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1502, allocations: 9.281 kB / 301.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000733/0.1509, allocations: 444.8 kB / 301.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.1522, allocations: 1.269 MB / 302.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-05/0.1523, allocations: 140.4 kB / 302.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.1525, allocations: 198.4 kB / 303.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.1544, allocations: 1.554 MB / 304.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/0.1544, allocations: 7.453 kB / 304.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.1545, allocations: 83.44 kB / 304.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/0.1546, allocations: 90.62 kB / 304.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.1557, allocations: 0.6927 MB / 305.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005838/0.1616, allocations: 6.524 MB / 312 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008297/0.1624, allocations: 0.6214 MB / 312.7 MB, free: 7.879 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007857/0.1632, allocations: 0.5976 MB / 313.3 MB, free: 7.629 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.1633, allocations: 52.97 kB / 313.3 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.1634, allocations: 46.39 kB / 313.3 MB, free: 7.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.294e-06/0.1634, allocations: 0 / 313.3 MB, free: 7.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004582/0.1679, allocations: 3.175 MB / 316.5 MB, free: 4.336 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.168, allocations: 60.41 kB / 316.6 MB, free: 4.266 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007813/0.1688, allocations: 1.081 MB / 317.7 MB, free: 3.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.1688, allocations: 45.7 kB / 317.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.1691, allocations: 1.017 MB / 318.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.1693, allocations: 409.7 kB / 319.1 MB, free: 1.699 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.1695, allocations: 253.2 kB / 319.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.065e-05/0.1696, allocations: 0.5355 MB / 319.9 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.1699, allocations: 227.8 kB / 320.1 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008086/0.1707, allocations: 0.7317 MB / 320.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.1717, allocations: 1.058 MB / 321.9 MB, free: 14.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.1717, allocations: 4 kB / 321.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001667/0.1734, allocations: 1.312 MB / 323.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.1734, allocations: 15.92 kB / 323.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.1734, allocations: 12 kB / 323.3 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006532/0.1741, allocations: 297 kB / 323.6 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/0.1746, allocations: 292.4 kB / 323.8 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005288/0.1799, allocations: 6.73 MB / 330.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/0.1806, allocations: 67.94 kB / 330.6 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.471e-05/0.1807, allocations: 56 kB / 330.7 MB, free: 5.508 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.0004671/0.1812, allocations: 241.9 kB / 330.9 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.1815, allocations: 179.1 kB / 331.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.1835, allocations: 1.07 MB / 332.2 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.1835, allocations: 12 kB / 332.2 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.1835, allocations: 8.047 kB / 332.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.1835, allocations: 7.984 kB / 332.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004638/0.1882, allocations: 2.718 MB / 334.9 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1882, allocations: 3.656 kB / 334.9 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006512/0.1888, allocations: 179.1 kB / 335.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.1902, allocations: 361.1 kB / 335.4 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-05/0.1903, allocations: 27.98 kB / 335.5 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006028/0.1963, allocations: 8.464 MB / 343.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1963, allocations: 0 / 343.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.1981, allocations: 1.537 MB / 345.5 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.1985, allocations: 254.9 kB / 345.7 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.1986, allocations: 27.38 kB / 345.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.1989, allocations: 55.94 kB / 345.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.1991, allocations: 88.83 kB / 345.9 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/0.1991, allocations: 31.98 kB / 345.9 MB, free: 5.738 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006344/0.1998, allocations: 0.6306 MB / 346.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1998, allocations: 4 kB / 346.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001297/0.2011, allocations: 431.9 kB / 347 MB, free: 4.676 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%), (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.0002914/0.2014, allocations: 193.2 kB / 347.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.2031, allocations: 1.481 MB / 348.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.2031, allocations: 4.75 kB / 348.7 MB, free: 2.988 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.2044, allocations: 1.272 MB / 349.9 MB, free: 1.652 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009669/0.2054, allocations: 374.3 kB / 350.3 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.2098, allocations: 3.486 MB / 353.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.2102, allocations: 496 kB / 354.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005158/0.2107, allocations: 259.7 kB / 354.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.2109, allocations: 92.48 kB / 354.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2109, allocations: 0 / 354.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of Templates: time 0.02863/0.2395, allocations: 23.28 MB / 377.9 MB, free: 6.023 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] 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","",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.3073719451203942]