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.001025/0.001025, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001435/0.001435, allocations: 160.9 kB / 24.99 MB, free: 8.816 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.641 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.733e-06/1.733e-06, allocations: 0 / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.955e-05, allocations: 5.125 kB / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01216/0.01219, allocations: 9.365 MB / 282.4 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007426/0.01962, allocations: 2.999 MB / 285.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.0214, allocations: 63.56 kB / 285.4 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.02347, allocations: 0.6247 MB / 286.1 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.0257, allocations: 0.8616 MB / 286.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007083/0.02641, allocations: 359.4 kB / 287.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002702/0.02911, allocations: 2.781 MB / 290.1 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1296/0.1587, allocations: 1.124 MB / 291.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003192/0.1619, allocations: 1.798 MB / 293 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.1645, allocations: 1.426 MB / 294.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009366/0.1654, allocations: 308.6 kB / 294.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008516/0.1663, allocations: 408.6 kB / 295.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008523/0.1671, allocations: 0.9399 MB / 296 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.1689, allocations: 0.9787 MB / 297 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003061/0.1719, allocations: 2.314 MB / 299.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1719, allocations: 0 / 299.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1719, allocations: 1.125 kB / 299.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001023/0.172, allocations: 0.5625 kB / 299.3 MB, free: 15.34 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.005258/0.1773, allocations: 3.035 MB / 302.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1773, allocations: 9.719 kB / 302.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.1784, allocations: 496.2 kB / 302.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.1804, allocations: 1.427 MB / 304.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.876e-05/0.1805, allocations: 155 kB / 304.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.1807, allocations: 208.1 kB / 304.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.183, allocations: 1.683 MB / 306.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.888e-05/0.1831, allocations: 12.12 kB / 306.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.1832, allocations: 86.44 kB / 306.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.249e-05/0.1833, allocations: 94.25 kB / 306.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.1848, allocations: 0.756 MB / 307.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007431/0.1922, allocations: 6.993 MB / 314.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008691/0.1931, allocations: 0.7003 MB / 315 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007916/0.1939, allocations: 0.5654 MB / 315.5 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.1941, allocations: 48.97 kB / 315.6 MB, free: 5.441 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1941, allocations: 50.33 kB / 315.6 MB, free: 5.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.506e-06/0.1941, allocations: 0 / 315.6 MB, free: 5.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.005188/0.1993, allocations: 3.168 MB / 318.8 MB, free: 2.199 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.1993, allocations: 64.41 kB / 318.9 MB, free: 2.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.2004, allocations: 1.243 MB / 320.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.2005, allocations: 45.7 kB / 320.1 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.2009, allocations: 1.112 MB / 321.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/0.2012, allocations: 450 kB / 321.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/0.2015, allocations: 257.2 kB / 322 MB, free: 14.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2017, allocations: 0.5394 MB / 322.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.2021, allocations: 228.7 kB / 322.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.2027, allocations: 0.6716 MB / 323.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.2038, allocations: 1.009 MB / 324.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.2038, allocations: 4 kB / 324.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001844/0.2056, allocations: 1.265 MB / 325.7 MB, free: 11.01 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.2056, allocations: 19.06 kB / 325.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.2056, allocations: 8 kB / 325.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005613/0.2062, allocations: 226.4 kB / 325.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.2069, allocations: 325.2 kB / 326.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.2097, allocations: 4.424 MB / 330.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007954/0.2105, allocations: 87.86 kB / 330.7 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/0.2106, allocations: 55.98 kB / 330.8 MB, free: 5.668 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.000629/0.2112, allocations: 235.5 kB / 331 MB, free: 5.445 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.2115, allocations: 210.9 kB / 331.2 MB, free: 5.238 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.213, allocations: 1.069 MB / 332.3 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.213, allocations: 14.94 kB / 332.3 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.213, allocations: 3.984 kB / 332.3 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.213, allocations: 15.92 kB / 332.3 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/0.2173, allocations: 2.96 MB / 335.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.2173, allocations: 4 kB / 335.3 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.2178, allocations: 218.2 kB / 335.5 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000666/0.2185, allocations: 288.7 kB / 335.8 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-05/0.2185, allocations: 31.98 kB / 335.8 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003502/0.222, allocations: 6.253 MB / 342.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.222, allocations: 3.375 kB / 342.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.2242, allocations: 1.553 MB / 343.6 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005674/0.2248, allocations: 294.9 kB / 343.9 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.2249, allocations: 28 kB / 343.9 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.2254, allocations: 75.91 kB / 344 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.2256, allocations: 108.7 kB / 344.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.2256, allocations: 39.36 kB / 344.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008992/0.2265, allocations: 0.7246 MB / 344.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2265, allocations: 0 / 344.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001608/0.2281, allocations: 456 kB / 345.3 MB, free: 6.66 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.0003621/0.2285, allocations: 186.2 kB / 345.5 MB, free: 6.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001864/0.2303, allocations: 1.298 MB / 346.8 MB, free: 5.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2303, allocations: 0 / 346.8 MB, free: 5.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.2315, allocations: 1.106 MB / 347.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.2328, allocations: 401.4 kB / 348.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007501/0.2403, allocations: 3.78 MB / 352.1 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006949/0.241, allocations: 0.5751 MB / 352.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001195/0.2422, allocations: 300.6 kB / 353 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/0.2426, allocations: 108.5 kB / 353.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of SimCode: time 2.194e-06/0.2426, allocations: 0 / 353.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of Templates: time 0.0339/0.2765, allocations: 24.69 MB / 377.8 MB, free: 6.523 MB / 330.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 -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.577147173928097]