Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001005/0.001005, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.000967/0.000967, allocations: 161.4 kB / 24.91 MB, free: 8.719 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 1.016/1.016, allocations: 177 MB / 205.2 MB, free: 5.027 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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.405e-05, allocations: 2.312 kB / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.009898/0.009922, allocations: 9.228 MB / 282.7 MB, free: 7.723 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006371/0.01629, allocations: 3.084 MB / 285.7 MB, free: 4.629 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.01768, allocations: 59.62 kB / 285.8 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.01931, allocations: 0.6481 MB / 286.5 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.02166, allocations: 0.8576 MB / 287.3 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007353/0.0224, allocations: 359.5 kB / 287.7 MB, free: 2.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1158/0.1382, allocations: 2.772 MB / 290.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002975/0.1411, allocations: 1.161 MB / 291.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004017/0.1452, allocations: 1.937 MB / 293.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/0.1484, allocations: 1.368 MB / 294.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.1494, allocations: 301 kB / 295.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.1506, allocations: 399.8 kB / 295.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.1517, allocations: 0.9011 MB / 296.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.1539, allocations: 0.9626 MB / 297.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003554/0.1574, allocations: 2.279 MB / 299.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1574, allocations: 0 / 299.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1574, allocations: 2.469 kB / 299.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001264/0.1575, allocations: 1.375 kB / 299.7 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.004416/0.162, allocations: 2.644 MB / 302.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.162, allocations: 11.78 kB / 302.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009022/0.1629, allocations: 403 kB / 302.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.1645, allocations: 1.045 MB / 303.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.461e-05/0.1646, allocations: 151.7 kB / 304 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.1648, allocations: 209.1 kB / 304.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.1666, allocations: 1.577 MB / 305.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.1667, allocations: 7.75 kB / 305.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.1668, allocations: 90.17 kB / 305.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/0.1669, allocations: 93.86 kB / 305.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009948/0.1679, allocations: 0.5956 MB / 306.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006047/0.1739, allocations: 5.4 MB / 311.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/0.1745, allocations: 0.6651 MB / 312.6 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/0.1751, allocations: 482.1 kB / 313.1 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.1752, allocations: 44.98 kB / 313.1 MB, free: 8.133 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1753, allocations: 47.5 kB / 313.2 MB, free: 8.078 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.865e-06/0.1753, allocations: 0 / 313.2 MB, free: 8.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.004085/0.1794, allocations: 2.493 MB / 315.7 MB, free: 5.598 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.1794, allocations: 64.41 kB / 315.7 MB, free: 5.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006131/0.18, allocations: 0.9935 MB / 316.7 MB, free: 4.691 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/0.18, allocations: 45.7 kB / 316.8 MB, free: 4.641 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.1803, allocations: 0.8299 MB / 317.6 MB, free: 3.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.1804, allocations: 434 kB / 318 MB, free: 3.461 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.1806, allocations: 240.3 kB / 318.2 MB, free: 3.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.613e-05/0.1807, allocations: 365.8 kB / 318.6 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.1808, allocations: 166.8 kB / 318.8 MB, free: 2.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.1811, allocations: 477.2 kB / 319.2 MB, free: 2.184 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/0.1816, allocations: 0.8036 MB / 320 MB, free: 1.324 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1817, allocations: 0 / 320 MB, free: 1.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001007/0.1827, allocations: 0.9134 MB / 321 MB, free: 468 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1827, allocations: 12 kB / 321 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1827, allocations: 8 kB / 321 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004148/0.1831, allocations: 218.9 kB / 321.2 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.1838, allocations: 322.7 kB / 321.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.1859, allocations: 3.153 MB / 324.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.1866, allocations: 51.97 kB / 324.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/0.1866, allocations: 43.98 kB / 324.7 MB, free: 12.55 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.000549/0.1872, allocations: 189.8 kB / 324.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.1874, allocations: 135.8 kB / 325.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.1885, allocations: 0.8277 MB / 325.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1885, allocations: 12 kB / 325.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1885, allocations: 4 kB / 325.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1885, allocations: 7.984 kB / 325.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.1913, allocations: 2.07 MB / 328 MB, free: 9.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.1913, allocations: 8 kB / 328 MB, free: 9.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/0.192, allocations: 267.6 kB / 328.3 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005749/0.1926, allocations: 271.3 kB / 328.5 MB, free: 8.879 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/0.1926, allocations: 31.92 kB / 328.5 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/0.1951, allocations: 4.365 MB / 332.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1951, allocations: 7.984 kB / 332.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.1965, allocations: 1.206 MB / 334.1 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.1969, allocations: 206.9 kB / 334.3 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.197, allocations: 31.98 kB / 334.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.1973, allocations: 47.97 kB / 334.4 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.1975, allocations: 100 kB / 334.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.1975, allocations: 27.98 kB / 334.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004604/0.198, allocations: 496.3 kB / 335 MB, free: 2.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.198, allocations: 4 kB / 335 MB, free: 2.176 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001174/0.1992, allocations: 448 kB / 335.5 MB, free: 1.738 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.0002567/0.1994, allocations: 172.3 kB / 335.6 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.2005, allocations: 0.9761 MB / 336.6 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.986e-05/0.2006, allocations: 16.5 kB / 336.6 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007501/0.2013, allocations: 0.7898 MB / 337.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009428/0.2023, allocations: 398.1 kB / 337.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.2072, allocations: 3.571 MB / 341.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.2077, allocations: 0.5009 MB / 341.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006873/0.2084, allocations: 192.8 kB / 342.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006592/0.209, allocations: 400.2 kB / 342.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of SimCode: time 1.823e-06/0.209, allocations: 4 kB / 342.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of Templates: time 0.03142/0.2404, allocations: 25.44 MB / 367.9 MB, free: 1.742 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.381464363075793]