Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.001384/0.001384, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00125/0.00125, allocations: 168.1 kB / 24.82 MB, free: 9.277 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/1, allocations: 177 MB / 205.1 MB, free: 5.48 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.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.836e-05, allocations: 2.312 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.00883/0.008858, allocations: 6.989 MB / 280.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00408/0.01294, allocations: 2.306 MB / 282.6 MB, free: 7.875 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.01338, allocations: 19.94 kB / 282.6 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.01456, allocations: 488.8 kB / 283.1 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008084/0.01537, allocations: 428.7 kB / 283.5 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.01577, allocations: 211.7 kB / 283.7 MB, free: 6.746 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.0169, allocations: 1.249 MB / 285 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005188/0.01741, allocations: 316.5 kB / 285.3 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008357/0.01825, allocations: 0.7209 MB / 286 MB, free: 4.438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004731/0.01872, allocations: 382.9 kB / 286.4 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.01886, allocations: 112 kB / 286.5 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.01911, allocations: 144 kB / 286.7 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.01927, allocations: 231.1 kB / 286.9 MB, free: 3.586 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003442/0.01961, allocations: 387.1 kB / 287.3 MB, free: 3.207 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009572/0.02057, allocations: 0.7666 MB / 288 MB, free: 2.438 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.02057, allocations: 3.938 kB / 288 MB, free: 2.434 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.02058, allocations: 0 / 288 MB, free: 2.434 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.02058, allocations: 0 / 288 MB, free: 2.434 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001861/0.02245, allocations: 1.313 MB / 289.3 MB, free: 1.082 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.02248, allocations: 11.98 kB / 289.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.02291, allocations: 208.2 kB / 289.6 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007435/0.02365, allocations: 0.5714 MB / 290.1 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/0.0237, allocations: 58.38 kB / 290.2 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.02381, allocations: 88.31 kB / 290.3 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1238/0.1477, allocations: 0.6082 MB / 290.9 MB, free: 23.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.1477, allocations: 10 kB / 290.9 MB, free: 23.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.1477, allocations: 32.59 kB / 290.9 MB, free: 23.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.1477, allocations: 19.44 kB / 290.9 MB, free: 23.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.1481, allocations: 226.3 kB / 291.2 MB, free: 23.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.1508, allocations: 3.265 MB / 294.4 MB, free: 22.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.151, allocations: 144.2 kB / 294.6 MB, free: 22.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.471e-05/0.1511, allocations: 56.12 kB / 294.6 MB, free: 22.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.1511, allocations: 4.562 kB / 294.6 MB, free: 22.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.1511, allocations: 41.19 kB / 294.7 MB, free: 22.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.1511, allocations: 1.438 kB / 294.7 MB, free: 22.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007668/0.1519, allocations: 0.5774 MB / 295.2 MB, free: 21.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.1519, allocations: 81.33 kB / 295.3 MB, free: 21.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.1524, allocations: 0.6673 MB / 296 MB, free: 21.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.1524, allocations: 30.39 kB / 296 MB, free: 21.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.1527, allocations: 0.5741 MB / 296.6 MB, free: 21.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.1528, allocations: 114.1 kB / 296.7 MB, free: 21.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.1529, allocations: 121.2 kB / 296.8 MB, free: 21.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.153, allocations: 0.5612 MB / 297.4 MB, free: 20.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.153, allocations: 48.7 kB / 297.4 MB, free: 20.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.1532, allocations: 499.5 kB / 297.9 MB, free: 20 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.1536, allocations: 0.5606 MB / 298.5 MB, free: 19.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1536, allocations: 3.281 kB / 298.5 MB, free: 19.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005232/0.1541, allocations: 493.6 kB / 299 MB, free: 19.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1541, allocations: 12.92 kB / 299 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1541, allocations: 9.719 kB / 299 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-05/0.1542, allocations: 33.12 kB / 299 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.1545, allocations: 136 kB / 299.2 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/0.1574, allocations: 1.725 MB / 300.9 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007766/0.1582, allocations: 33.89 kB / 300.9 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.1582, allocations: 28.88 kB / 300.9 MB, free: 17.68 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002402/0.1585, allocations: 201 kB / 301.1 MB, free: 17.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.1586, allocations: 78.73 kB / 301.2 MB, free: 17.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/0.159, allocations: 220.7 kB / 301.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.159, allocations: 3.359 kB / 301.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.159, allocations: 5.641 kB / 301.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1591, allocations: 1.266 kB / 301.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.1603, allocations: 0.7807 MB / 302.2 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.1603, allocations: 3.969 kB / 302.2 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.1606, allocations: 61.25 kB / 302.3 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.797e-05/0.1607, allocations: 21.12 kB / 302.3 MB, free: 17.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.1607, allocations: 7.812 kB / 302.3 MB, free: 17.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006427/0.1613, allocations: 1.709 MB / 304 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1613, allocations: 1.219 kB / 304 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.1618, allocations: 491.6 kB / 304.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.162, allocations: 88.22 kB / 304.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.418e-05/0.1621, allocations: 11.8 kB / 304.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.1624, allocations: 19.7 kB / 304.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.1625, allocations: 27.11 kB / 304.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.1625, allocations: 9.625 kB / 304.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000474/0.1629, allocations: 399.8 kB / 305 MB, free: 14.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1629, allocations: 4 kB / 305 MB, free: 14.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007731/0.1637, allocations: 158.7 kB / 305.2 MB, free: 14.8 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,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.0001864/0.1639, allocations: 115.5 kB / 305.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005943/0.1645, allocations: 415.1 kB / 305.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1645, allocations: 1.188 kB / 305.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.1647, allocations: 258.7 kB / 306 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008762/0.1656, allocations: 181 kB / 306.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.1681, allocations: 1.335 MB / 307.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.1683, allocations: 143.6 kB / 307.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003319/0.1686, allocations: 83.67 kB / 307.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.1691, allocations: 229.9 kB / 307.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1691, allocations: 0 / 307.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of Templates: time 0.01419/0.1833, allocations: 8.677 MB / 316.6 MB, free: 8.277 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.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: 2.9404902760870755]