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.001147/0.001147, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001949/0.003096, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001249/0.001249, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001695/0.002944, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9456/0.9456, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08465/1.03, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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 2.365e-06/2.365e-06, allocations: 3.984 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.471e-05, allocations: 6.25 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.007294/0.007309, allocations: 9.279 MB / 254.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.01101, allocations: 3.189 MB / 257.5 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005484/0.01156, allocations: 59.62 kB / 257.5 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009354/0.0125, allocations: 0.6442 MB / 258.2 MB, free: 412 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.01372, allocations: 0.85 MB / 259 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.01417, allocations: 367.3 kB / 259.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002079/0.01625, allocations: 2.789 MB / 262.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.01725, allocations: 1.156 MB / 263.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.01903, allocations: 2.125 MB / 265.5 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.02014, allocations: 1.376 MB / 266.8 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002717/0.02041, allocations: 296 kB / 267.1 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.02087, allocations: 403.8 kB / 267.5 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007138/0.02158, allocations: 0.7325 MB / 268.3 MB, free: 6.207 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006382/0.02222, allocations: 0.7954 MB / 269.1 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.02378, allocations: 2.13 MB / 271.2 MB, free: 3.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.334e-05/0.0238, allocations: 0 / 271.2 MB, free: 3.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.0238, allocations: 0 / 271.2 MB, free: 3.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.679e-05/0.02383, allocations: 8 kB / 271.2 MB, free: 3.266 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.002686/0.02652, allocations: 3.156 MB / 274.3 MB, free: 68 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.02655, allocations: 8.625 kB / 274.4 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1217/0.1483, allocations: 474.6 kB / 274.8 MB, free: 20.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.1497, allocations: 1.043 MB / 275.9 MB, free: 19.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.658e-05/0.1498, allocations: 149.1 kB / 276 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.15, allocations: 210.6 kB / 276.2 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.1518, allocations: 1.571 MB / 277.8 MB, free: 19.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.675e-05/0.1519, allocations: 9.234 kB / 277.8 MB, free: 19.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.1521, allocations: 82.97 kB / 277.9 MB, free: 19.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.1522, allocations: 94.62 kB / 278 MB, free: 19.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.1532, allocations: 0.6022 MB / 278.6 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005863/0.1591, allocations: 5.42 MB / 284 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007434/0.1598, allocations: 0.6637 MB / 284.7 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006922/0.1605, allocations: 486.5 kB / 285.1 MB, free: 17.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.1607, allocations: 49.75 kB / 285.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1607, allocations: 51.47 kB / 285.2 MB, free: 17.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.325e-06/0.1607, allocations: 0 / 285.2 MB, free: 17.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.004203/0.1649, allocations: 2.49 MB / 287.7 MB, free: 16.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.1649, allocations: 66.81 kB / 287.8 MB, free: 16.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.1655, allocations: 0.9926 MB / 288.8 MB, free: 16.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.1656, allocations: 47.86 kB / 288.8 MB, free: 16.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.1658, allocations: 0.8275 MB / 289.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.166, allocations: 436.4 kB / 290.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.1662, allocations: 235 kB / 290.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.1663, allocations: 365.2 kB / 290.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.1665, allocations: 168.6 kB / 290.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.1668, allocations: 483.2 kB / 291.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/0.1674, allocations: 0.7956 MB / 292.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1674, allocations: 3.531 kB / 292.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.0009917/0.1684, allocations: 0.9182 MB / 293 MB, free: 13.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1684, allocations: 10.69 kB / 293 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1684, allocations: 7.625 kB / 293 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004323/0.1689, allocations: 210.7 kB / 293.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/0.1696, allocations: 350.9 kB / 293.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.171, allocations: 3.16 MB / 296.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.1714, allocations: 43.98 kB / 296.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/0.1714, allocations: 47.98 kB / 296.8 MB, free: 10.13 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.0002775/0.1717, allocations: 200.2 kB / 297 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.1719, allocations: 135.9 kB / 297.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008839/0.1728, allocations: 0.8245 MB / 298 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1728, allocations: 12 kB / 298 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1728, allocations: 4 kB / 298 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1728, allocations: 3.984 kB / 298 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.175, allocations: 2.081 MB / 300.1 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.175, allocations: 0 / 300.1 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/0.1756, allocations: 291.5 kB / 300.4 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.1759, allocations: 198.9 kB / 300.6 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/0.1764, allocations: 263.7 kB / 300.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/0.1764, allocations: 35.98 kB / 300.9 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.1781, allocations: 4.376 MB / 305.2 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1781, allocations: 4 kB / 305.2 MB, free: 1.523 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.1792, allocations: 1.207 MB / 306.4 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.1793, allocations: 24 kB / 306.5 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.1796, allocations: 43.97 kB / 306.5 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.1797, allocations: 96.7 kB / 306.6 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.1798, allocations: 28.75 kB / 306.6 MB, free: 80 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003868/0.1802, allocations: 0.4942 MB / 307.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1802, allocations: 4 kB / 307.1 MB, free: 15.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007552/0.1809, allocations: 451.9 kB / 307.6 MB, free: 15.19 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.0004991/0.1814, allocations: 166.5 kB / 307.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.1825, allocations: 0.9783 MB / 308.7 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.952e-05/0.1825, allocations: 31.12 kB / 308.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006839/0.1832, allocations: 0.7923 MB / 309.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.1842, allocations: 0.4988 MB / 310 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.1977, allocations: 3.724 MB / 313.8 MB, free: 8.934 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.1981, allocations: 0.5048 MB / 314.3 MB, free: 8.406 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004516/0.1985, allocations: 196.8 kB / 314.5 MB, free: 8.207 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005969/0.1991, allocations: 393.1 kB / 314.8 MB, free: 7.824 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1991, allocations: 0 / 314.8 MB, free: 7.824 MB / 282.7 MB Notification: Performance of Templates: time 0.03085/0.23, allocations: 26.5 MB / 341.3 MB, free: 13.75 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 -emit_protected -ignoreHideResult -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.224806356243789]