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.001285/0.001285, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001972/0.003258, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001141/0.001141, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001586/0.002727, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9335/0.9335, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08529/1.019, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.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.542e-06/1.542e-06, allocations: 0 / 239.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.968e-05, allocations: 6.312 kB / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01035/0.01037, allocations: 9.21 MB / 248.8 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005132/0.01551, allocations: 3.037 MB / 251.8 MB, free: 6.852 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008114/0.01632, allocations: 59.62 kB / 251.9 MB, free: 6.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009856/0.0173, allocations: 0.6364 MB / 252.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.01867, allocations: 0.846 MB / 253.4 MB, free: 5.301 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.01914, allocations: 351.4 kB / 253.7 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.02118, allocations: 2.769 MB / 256.5 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009601/0.02214, allocations: 1.16 MB / 257.6 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.02436, allocations: 2.101 MB / 259.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.02556, allocations: 1.372 MB / 261.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.02584, allocations: 296 kB / 261.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007415/0.02658, allocations: 391.9 kB / 261.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004549/0.02704, allocations: 0.7364 MB / 262.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007046/0.02774, allocations: 0.7877 MB / 263.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.0294, allocations: 2.114 MB / 265.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.02942, allocations: 0 / 265.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.02942, allocations: 0 / 265.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.78e-05/0.02947, allocations: 0 / 265.4 MB, free: 9.117 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.003065/0.03253, allocations: 3.136 MB / 268.5 MB, free: 5.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.03256, allocations: 8.031 kB / 268.6 MB, free: 5.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007821/0.03335, allocations: 453.7 kB / 269 MB, free: 5.469 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.03456, allocations: 1.019 MB / 270 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.95e-05/0.03465, allocations: 152.4 kB / 270.2 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.03483, allocations: 204.4 kB / 270.4 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.03645, allocations: 1.577 MB / 271.9 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/0.03649, allocations: 15.83 kB / 272 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.03661, allocations: 83.94 kB / 272 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-05/0.03668, allocations: 91.92 kB / 272.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/0.03753, allocations: 0.6021 MB / 272.7 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.114/0.1515, allocations: 5.407 MB / 278.1 MB, free: 21.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/0.1523, allocations: 0.6582 MB / 278.8 MB, free: 21.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007063/0.153, allocations: 482.4 kB / 279.3 MB, free: 21.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.1532, allocations: 49.52 kB / 279.3 MB, free: 21.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1532, allocations: 44.84 kB / 279.4 MB, free: 21.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 4.148e-06/0.1532, allocations: 0.5625 kB / 279.4 MB, free: 21.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.004927/0.1581, allocations: 2.486 MB / 281.8 MB, free: 21.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.1582, allocations: 67.78 kB / 281.9 MB, free: 21.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009565/0.1591, allocations: 0.9718 MB / 282.9 MB, free: 21.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.366e-05/0.1592, allocations: 47.05 kB / 282.9 MB, free: 20.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/0.1597, allocations: 0.8308 MB / 283.8 MB, free: 20.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.1599, allocations: 437 kB / 284.2 MB, free: 20.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.1601, allocations: 235.8 kB / 284.4 MB, free: 20.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.1602, allocations: 369 kB / 284.8 MB, free: 19.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.1604, allocations: 167.3 kB / 284.9 MB, free: 19.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.1607, allocations: 484.2 kB / 285.4 MB, free: 19.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.1614, allocations: 0.7918 MB / 286.2 MB, free: 19.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.1614, allocations: 7.172 kB / 286.2 MB, free: 19.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001225/0.1626, allocations: 0.9172 MB / 287.1 MB, free: 19.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.1626, allocations: 13.47 kB / 287.1 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.1626, allocations: 11.2 kB / 287.2 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/0.1631, allocations: 211.9 kB / 287.4 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008293/0.1639, allocations: 347.7 kB / 287.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.1657, allocations: 3.168 MB / 290.9 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.1662, allocations: 48.95 kB / 290.9 MB, free: 16.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.1663, allocations: 53.12 kB / 291 MB, free: 16.44 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.0003935/0.1667, allocations: 188.5 kB / 291.1 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.1669, allocations: 132.8 kB / 291.3 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009533/0.1678, allocations: 0.8204 MB / 292.1 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.1678, allocations: 12.88 kB / 292.1 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1678, allocations: 2.406 kB / 292.1 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.1678, allocations: 10.38 kB / 292.1 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.1703, allocations: 2.074 MB / 294.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1703, allocations: 3 kB / 294.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/0.1709, allocations: 282.5 kB / 294.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.1712, allocations: 214.9 kB / 294.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005425/0.1717, allocations: 254.6 kB / 294.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/0.1718, allocations: 29.11 kB / 295 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.1736, allocations: 4.377 MB / 299.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.1736, allocations: 4.688 kB / 299.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.1747, allocations: 1.202 MB / 300.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.1748, allocations: 31.83 kB / 300.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.1751, allocations: 47.97 kB / 300.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.1753, allocations: 100.7 kB / 300.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.1753, allocations: 23.98 kB / 300.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003255/0.1756, allocations: 498.4 kB / 301.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1756, allocations: 0 / 301.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001013/0.1767, allocations: 448 kB / 301.7 MB, free: 9.523 MB / 266.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.00025/0.1769, allocations: 176.2 kB / 301.8 MB, free: 9.348 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.1779, allocations: 0.9749 MB / 302.8 MB, free: 8.363 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.715e-05/0.178, allocations: 31.39 kB / 302.9 MB, free: 8.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000591/0.1786, allocations: 0.7821 MB / 303.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008544/0.1794, allocations: 0.4972 MB / 304.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.1927, allocations: 3.699 MB / 307.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.193, allocations: 0.5008 MB / 308.3 MB, free: 2.754 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000628/0.1936, allocations: 184.7 kB / 308.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/0.1942, allocations: 401 kB / 308.9 MB, free: 2.176 MB / 266.7 MB Notification: Performance of SimCode: time 2.044e-06/0.1942, allocations: 0 / 308.9 MB, free: 2.176 MB / 266.7 MB Notification: Performance of Templates: time 0.03411/0.2283, allocations: 26.38 MB / 335.3 MB, free: 8.227 MB / 298.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 -ignoreHideResult -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.3455605702474713]