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.001413/0.001413, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001474/0.001474, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 0.9813/0.9813, allocations: 177 MB / 204.8 MB, free: 5.574 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.413e-06/1.413e-06, allocations: 0 / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.399e-05, allocations: 6.312 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.007897/0.007921, allocations: 9.408 MB / 282.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004586/0.01251, allocations: 3.003 MB / 285.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009364/0.01344, allocations: 63.56 kB / 285.4 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.01468, allocations: 0.6209 MB / 286 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.01633, allocations: 0.8577 MB / 286.9 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.01688, allocations: 359.4 kB / 287.2 MB, free: 3.047 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002166/0.01905, allocations: 2.785 MB / 290 MB, free: 256 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.121/0.14, allocations: 1.12 MB / 291.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.1428, allocations: 1.802 MB / 292.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002476/0.1452, allocations: 1.425 MB / 294.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.1462, allocations: 307.3 kB / 294.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.1473, allocations: 406.8 kB / 295.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008643/0.1481, allocations: 0.9406 MB / 296 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.15, allocations: 0.9789 MB / 297 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.1536, allocations: 2.317 MB / 299.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1536, allocations: 0 / 299.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1536, allocations: 0.5938 kB / 299.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001123/0.1537, allocations: 1.469 kB / 299.3 MB, free: 15.48 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.005979/0.1597, allocations: 3.031 MB / 302.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1598, allocations: 8.906 kB / 302.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.1609, allocations: 495.7 kB / 302.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.1633, allocations: 1.43 MB / 304.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.1634, allocations: 153.7 kB / 304.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/0.1637, allocations: 206.2 kB / 304.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/0.1667, allocations: 1.69 MB / 306.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-05/0.1667, allocations: 5.406 kB / 306.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/0.1669, allocations: 86.89 kB / 306.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.695e-05/0.167, allocations: 96.95 kB / 306.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.1688, allocations: 0.7534 MB / 307.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009241/0.1781, allocations: 7.007 MB / 314.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1791, allocations: 0.6943 MB / 314.9 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.1801, allocations: 0.5662 MB / 315.5 MB, free: 5.242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.1803, allocations: 46.28 kB / 315.5 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1803, allocations: 54.33 kB / 315.6 MB, free: 5.137 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 5.19e-06/0.1804, allocations: 4 kB / 315.6 MB, free: 5.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.006823/0.1872, allocations: 3.162 MB / 318.8 MB, free: 1.957 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.1872, allocations: 64.41 kB / 318.8 MB, free: 1.883 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.1887, allocations: 1.247 MB / 320.1 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/0.1888, allocations: 45.7 kB / 320.1 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006081/0.1894, allocations: 1.109 MB / 321.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000313/0.1897, allocations: 441.6 kB / 321.7 MB, free: 15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.1901, allocations: 261.2 kB / 321.9 MB, free: 14.74 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1902, allocations: 0.5394 MB / 322.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.1907, allocations: 227.8 kB / 322.7 MB, free: 13.97 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007665/0.1915, allocations: 0.6743 MB / 323.4 MB, free: 13.13 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.1929, allocations: 1.013 MB / 324.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.1929, allocations: 4 kB / 324.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002458/0.1954, allocations: 1.257 MB / 325.6 MB, free: 10.76 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.1954, allocations: 14.66 kB / 325.6 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.87e-05/0.1954, allocations: 11.94 kB / 325.7 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007394/0.1962, allocations: 218.9 kB / 325.9 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008565/0.197, allocations: 326.4 kB / 326.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/0.2003, allocations: 4.432 MB / 330.6 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.2014, allocations: 91.17 kB / 330.7 MB, free: 5.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/0.2014, allocations: 52 kB / 330.8 MB, free: 5.422 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.0008375/0.2023, allocations: 242.5 kB / 331 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.2026, allocations: 206.8 kB / 331.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.2042, allocations: 1.068 MB / 332.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.2042, allocations: 12 kB / 332.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2042, allocations: 4 kB / 332.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.2043, allocations: 7.969 kB / 332.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004437/0.2087, allocations: 2.97 MB / 335.3 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2087, allocations: 0 / 335.3 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005485/0.2092, allocations: 219.1 kB / 335.5 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006966/0.2099, allocations: 287.4 kB / 335.8 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/0.21, allocations: 31.98 kB / 335.8 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003557/0.2136, allocations: 6.25 MB / 342 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2136, allocations: 4 kB / 342 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.2159, allocations: 1.554 MB / 343.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006045/0.2165, allocations: 298.9 kB / 343.9 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.2166, allocations: 24 kB / 343.9 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.2171, allocations: 79.91 kB / 344 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.2173, allocations: 112.3 kB / 344.1 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.2173, allocations: 35.98 kB / 344.1 MB, free: 7.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008587/0.2182, allocations: 0.7207 MB / 344.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2182, allocations: 0 / 344.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001243/0.2194, allocations: 456 kB / 345.3 MB, free: 6.422 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.0003062/0.2197, allocations: 193.5 kB / 345.5 MB, free: 6.234 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.2214, allocations: 1.301 MB / 346.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2214, allocations: 0 / 346.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.2225, allocations: 1.095 MB / 347.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.2237, allocations: 400.4 kB / 348.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005452/0.2292, allocations: 3.797 MB / 352.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.2297, allocations: 0.5784 MB / 352.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008025/0.2305, allocations: 296.6 kB / 352.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.2307, allocations: 104.5 kB / 353 MB, free: 14.57 MB / 314.7 MB Notification: Performance of SimCode: time 2.144e-06/0.2307, allocations: 8 kB / 353 MB, free: 14.56 MB / 314.7 MB Notification: Performance of Templates: time 0.03177/0.2625, allocations: 24.68 MB / 377.7 MB, free: 6.289 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.549169046804309]