Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001316/0.001316, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001861/0.001861, allocations: 161.3 kB / 24.99 MB, free: 9.273 MB / 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 1.039/1.039, allocations: 177.1 MB / 205.3 MB, free: 5.641 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_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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.063e-05, allocations: 6.312 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.009067/0.009098, allocations: 9.353 MB / 282.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005272/0.01437, allocations: 2.995 MB / 285.4 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.01543, allocations: 59.62 kB / 285.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.01678, allocations: 0.6286 MB / 286.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.01849, allocations: 0.8498 MB / 287 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.01911, allocations: 363.4 kB / 287.3 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002084/0.02119, allocations: 2.765 MB / 290.1 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1298/0.151, allocations: 1.127 MB / 291.2 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002489/0.1535, allocations: 1.794 MB / 293 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.1557, allocations: 1.427 MB / 294.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007397/0.1564, allocations: 307.4 kB / 294.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00072/0.1571, allocations: 410.4 kB / 295.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008292/0.1579, allocations: 0.9355 MB / 296.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001632/0.1596, allocations: 0.9805 MB / 297 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002925/0.1625, allocations: 2.311 MB / 299.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1625, allocations: 1.25 kB / 299.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1625, allocations: 0.5312 kB / 299.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001032/0.1626, allocations: 0.6562 kB / 299.4 MB, free: 15.38 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.004465/0.1671, allocations: 3.028 MB / 302.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1671, allocations: 10.88 kB / 302.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009568/0.1681, allocations: 497.9 kB / 302.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.1698, allocations: 1.415 MB / 304.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.329e-05/0.1699, allocations: 154.7 kB / 304.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.1701, allocations: 209.2 kB / 304.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.1724, allocations: 1.685 MB / 306.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/0.1724, allocations: 11.33 kB / 306.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.1726, allocations: 89.12 kB / 306.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.696e-05/0.1726, allocations: 97.3 kB / 306.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.1741, allocations: 0.7549 MB / 307.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006966/0.181, allocations: 6.988 MB / 314.3 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008801/0.1819, allocations: 0.6993 MB / 315 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000823/0.1827, allocations: 0.5646 MB / 315.5 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.1829, allocations: 48.97 kB / 315.6 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.183, allocations: 58.33 kB / 315.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.957e-06/0.183, allocations: 0 / 315.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.005082/0.1881, allocations: 3.157 MB / 318.8 MB, free: 2.312 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.1881, allocations: 68.41 kB / 318.9 MB, free: 2.234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.1892, allocations: 1.235 MB / 320.1 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.1892, allocations: 45.7 kB / 320.1 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/0.1897, allocations: 1.113 MB / 321.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.19, allocations: 438.9 kB / 321.7 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.1903, allocations: 261.2 kB / 321.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1904, allocations: 0.5394 MB / 322.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.1909, allocations: 227.8 kB / 322.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006626/0.1915, allocations: 0.6737 MB / 323.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.1932, allocations: 1.012 MB / 324.4 MB, free: 12.35 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.1932, allocations: 7.938 kB / 324.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002812/0.196, allocations: 1.26 MB / 325.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.1961, allocations: 12 kB / 325.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.1961, allocations: 14.88 kB / 325.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009083/0.197, allocations: 220.2 kB / 325.9 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.1981, allocations: 326.6 kB / 326.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003925/0.202, allocations: 4.428 MB / 330.6 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.2031, allocations: 95.8 kB / 330.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.2032, allocations: 48 kB / 330.8 MB, free: 5.785 MB / 282.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.0008682/0.2041, allocations: 249.1 kB / 331 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/0.2045, allocations: 195 kB / 331.2 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.2069, allocations: 1.068 MB / 332.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.207, allocations: 16 kB / 332.3 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.207, allocations: 4 kB / 332.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.207, allocations: 7.969 kB / 332.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004841/0.2118, allocations: 2.971 MB / 335.3 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2118, allocations: 0 / 335.3 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/0.2124, allocations: 222.5 kB / 335.5 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006762/0.213, allocations: 291.4 kB / 335.8 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.355e-05/0.2131, allocations: 35.92 kB / 335.8 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00346/0.2166, allocations: 6.241 MB / 342.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.2166, allocations: 8.031 kB / 342.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.2187, allocations: 1.549 MB / 343.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005899/0.2193, allocations: 294.9 kB / 343.9 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.2195, allocations: 28 kB / 343.9 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.2199, allocations: 71.92 kB / 344 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/0.2201, allocations: 120.3 kB / 344.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/0.2202, allocations: 35.98 kB / 344.2 MB, free: 7.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008925/0.2211, allocations: 0.7166 MB / 344.9 MB, free: 7.227 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2211, allocations: 0 / 344.9 MB, free: 7.227 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001434/0.2225, allocations: 459.9 kB / 345.3 MB, free: 6.777 MB / 298.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%), (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.0003376/0.2229, allocations: 192.5 kB / 345.5 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.2247, allocations: 1.3 MB / 346.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.2248, allocations: 4 kB / 346.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.2258, allocations: 1.095 MB / 347.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.227, allocations: 397.6 kB / 348.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00585/0.2329, allocations: 3.769 MB / 352.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.2334, allocations: 0.575 MB / 352.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007958/0.2342, allocations: 296.5 kB / 352.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.2344, allocations: 116.5 kB / 353 MB, free: 14.93 MB / 314.7 MB Notification: Performance of SimCode: time 2.315e-06/0.2344, allocations: 0 / 353 MB, free: 14.93 MB / 314.7 MB Notification: Performance of Templates: time 0.03249/0.2669, allocations: 24.69 MB / 377.7 MB, free: 6.648 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.671130414120853]