Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001005/0.001005, allocations: 78.19 kB / 21.42 MB, free: 3.074 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.0009448/0.0009448, allocations: 154.2 kB / 24.81 MB, free: 8.945 MB / 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 0.9853/0.9853, allocations: 173.3 MB / 201.4 MB, free: 9.203 MB / 186.7 MB " [Timeout remaining time 179] 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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.201e-05, allocations: 6.25 kB / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.007208/0.00723, allocations: 9.11 MB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003923/0.01115, allocations: 2.913 MB / 280.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005289/0.01168, allocations: 59.62 kB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000997/0.01268, allocations: 0.6286 MB / 281.1 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.01407, allocations: 0.8422 MB / 282 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.0145, allocations: 363.2 kB / 282.3 MB, free: 8.203 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001814/0.01631, allocations: 2.742 MB / 285.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009685/0.01728, allocations: 1.132 MB / 286.2 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.01882, allocations: 1.937 MB / 288.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.01985, allocations: 1.383 MB / 289.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005529/0.02041, allocations: 296 kB / 289.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009315/0.02134, allocations: 383.9 kB / 290.2 MB, free: 264 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1223/0.1437, allocations: 0.8912 MB / 291.1 MB, free: 19.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002905/0.1466, allocations: 0.9635 MB / 292 MB, free: 19.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00388/0.1504, allocations: 2.252 MB / 294.3 MB, free: 19.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.1504, allocations: 1.062 kB / 294.3 MB, free: 19.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1504, allocations: 2.312 kB / 294.3 MB, free: 19.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000167/0.1506, allocations: 0 / 294.3 MB, free: 19.1 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005941/0.1566, allocations: 2.891 MB / 297.2 MB, free: 17.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1566, allocations: 11.05 kB / 297.2 MB, free: 17.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008688/0.1575, allocations: 480.3 kB / 297.7 MB, free: 17.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.1594, allocations: 1.311 MB / 299 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.1595, allocations: 150.8 kB / 299.1 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/0.1598, allocations: 211.8 kB / 299.3 MB, free: 17.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.1625, allocations: 1.555 MB / 300.9 MB, free: 16.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.059e-05/0.1626, allocations: 7.172 kB / 300.9 MB, free: 16.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.1627, allocations: 86.14 kB / 301 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.1629, allocations: 98.97 kB / 301.1 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.164, allocations: 0.5964 MB / 301.7 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007569/0.1716, allocations: 6.783 MB / 308.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000733/0.1723, allocations: 0.6414 MB / 309.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006244/0.173, allocations: 0.5 MB / 309.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.1731, allocations: 50.41 kB / 309.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1731, allocations: 48.92 kB / 309.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.397e-06/0.1731, allocations: 3.375 kB / 309.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.005123/0.1782, allocations: 2.482 MB / 312.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.1783, allocations: 62.34 kB / 312.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.1795, allocations: 1.183 MB / 313.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.305e-05/0.1796, allocations: 44.42 kB / 313.5 MB, free: 11.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004479/0.18, allocations: 1.113 MB / 314.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.1803, allocations: 445.8 kB / 315 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.1805, allocations: 267.3 kB / 315.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1806, allocations: 0.5477 MB / 315.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.1809, allocations: 170.2 kB / 316 MB, free: 9.227 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.1813, allocations: 0.6264 MB / 316.6 MB, free: 8.645 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.1819, allocations: 0.912 MB / 317.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.182, allocations: 8 kB / 317.5 MB, free: 7.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001504/0.1835, allocations: 1.136 MB / 318.7 MB, free: 6.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.1835, allocations: 8.625 kB / 318.7 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.1835, allocations: 8 kB / 318.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/0.184, allocations: 219.4 kB / 318.9 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006426/0.1846, allocations: 293.7 kB / 319.2 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.1868, allocations: 4.299 MB / 323.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009694/0.1878, allocations: 47.94 kB / 323.5 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.1878, allocations: 44 kB / 323.6 MB, free: 1.461 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009598/0.1888, allocations: 244.8 kB / 323.8 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/0.1892, allocations: 199 kB / 324 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.1905, allocations: 0.9651 MB / 325 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.1905, allocations: 12 kB / 325 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.1905, allocations: 4 kB / 325 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.1905, allocations: 7.969 kB / 325 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004409/0.1949, allocations: 2.416 MB / 327.4 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.1949, allocations: 8.281 kB / 327.4 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/0.1954, allocations: 199 kB / 327.6 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006331/0.1961, allocations: 254.2 kB / 327.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.1961, allocations: 34.94 kB / 327.9 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/0.1998, allocations: 6.035 MB / 333.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1998, allocations: 4.031 kB / 333.9 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.202, allocations: 1.409 MB / 335.3 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/0.2025, allocations: 250.9 kB / 335.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.2026, allocations: 27.98 kB / 335.6 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.203, allocations: 47.97 kB / 335.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.2032, allocations: 96.23 kB / 335.8 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.2032, allocations: 27.98 kB / 335.8 MB, free: 5.043 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006853/0.2039, allocations: 0.6517 MB / 336.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2039, allocations: 4 kB / 336.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001491/0.2054, allocations: 455.9 kB / 336.9 MB, free: 3.996 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.0003274/0.2057, allocations: 189.7 kB / 337.1 MB, free: 3.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.2072, allocations: 1.165 MB / 338.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2072, allocations: 0 / 338.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009/0.2081, allocations: 0.9895 MB / 339.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.2092, allocations: 384.3 kB / 339.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005643/0.2148, allocations: 3.726 MB / 343.3 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/0.2153, allocations: 0.5711 MB / 343.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000722/0.2161, allocations: 191.6 kB / 344.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000783/0.2168, allocations: 445.9 kB / 344.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of SimCode: time 1.313e-06/0.2168, allocations: 0 / 344.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of Templates: time 0.03655/0.2534, allocations: 25.4 MB / 369.9 MB, free: 3.348 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.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.554846894927323]