Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 91.62 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.589/1.589, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.786e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.011/0.01103, allocations: 7.105 MB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004892/0.01592, allocations: 2.306 MB / 281.7 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008648/0.01679, allocations: 23.94 kB / 281.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.01846, allocations: 480.9 kB / 282.2 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.02004, allocations: 436.6 kB / 282.7 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006612/0.0207, allocations: 207.7 kB / 282.9 MB, free: 7.246 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00198/0.02268, allocations: 1.237 MB / 284.1 MB, free: 6.004 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007633/0.02344, allocations: 332.4 kB / 284.4 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.02502, allocations: 0.7093 MB / 285.1 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009013/0.02592, allocations: 382.9 kB / 285.5 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002777/0.0262, allocations: 112 kB / 285.6 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006809/0.02688, allocations: 152 kB / 285.8 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.02716, allocations: 239 kB / 286 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007227/0.02789, allocations: 379.1 kB / 286.4 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.02998, allocations: 1.444 MB / 287.8 MB, free: 2.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.02999, allocations: 3.984 kB / 287.8 MB, free: 2.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.849e-06/0.03, allocations: 4 kB / 287.8 MB, free: 2.246 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.3e-05/0.03006, allocations: 0 / 287.8 MB, free: 2.246 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.003285/0.03334, allocations: 1.379 MB / 289.2 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.03339, allocations: 8.031 kB / 289.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006616/0.03405, allocations: 212.2 kB / 289.4 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1246/0.1587, allocations: 0.599 MB / 290 MB, free: 28.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-05/0.1587, allocations: 60.27 kB / 290.1 MB, free: 28.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.159, allocations: 83.52 kB / 290.2 MB, free: 28.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.1606, allocations: 0.889 MB / 291 MB, free: 28.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/0.1606, allocations: 7.75 kB / 291.1 MB, free: 28.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.1607, allocations: 30.34 kB / 291.1 MB, free: 28.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.1607, allocations: 21.53 kB / 291.1 MB, free: 28.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.1617, allocations: 497.8 kB / 291.6 MB, free: 28.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004741/0.1664, allocations: 3.992 MB / 295.6 MB, free: 25.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/0.167, allocations: 217.9 kB / 295.8 MB, free: 25.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.1673, allocations: 102.6 kB / 295.9 MB, free: 25.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.1673, allocations: 6.594 kB / 295.9 MB, free: 25.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1673, allocations: 46.17 kB / 295.9 MB, free: 25.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 2.865e-06/0.1673, allocations: 0 / 295.9 MB, free: 25.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.002309/0.1696, allocations: 0.8787 MB / 296.8 MB, free: 24.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.1697, allocations: 84.89 kB / 296.9 MB, free: 24.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.1708, allocations: 0.8866 MB / 297.8 MB, free: 24.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1708, allocations: 30.7 kB / 297.8 MB, free: 24.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.1711, allocations: 0.5998 MB / 298.4 MB, free: 23.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.1712, allocations: 121.9 kB / 298.5 MB, free: 23.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.1713, allocations: 142.8 kB / 298.7 MB, free: 23.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1715, allocations: 0.5906 MB / 299.3 MB, free: 23.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.1717, allocations: 116.2 kB / 299.4 MB, free: 23.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.1721, allocations: 0.5718 MB / 300 MB, free: 22.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.1727, allocations: 0.7102 MB / 300.7 MB, free: 21.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.1727, allocations: 4.062 kB / 300.7 MB, free: 21.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009982/0.1737, allocations: 0.6152 MB / 301.3 MB, free: 21.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.1737, allocations: 9.094 kB / 301.3 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.1737, allocations: 11.05 kB / 301.3 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/0.1739, allocations: 43.16 kB / 301.3 MB, free: 21.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.1744, allocations: 135.5 kB / 301.5 MB, free: 21.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008777/0.1752, allocations: 1.791 MB / 303.3 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.1757, allocations: 27.92 kB / 303.3 MB, free: 19.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.1757, allocations: 29.28 kB / 303.3 MB, free: 19.61 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.0002835/0.176, allocations: 282.8 kB / 303.6 MB, free: 19.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.1761, allocations: 80.19 kB / 303.7 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.1766, allocations: 305.5 kB / 304 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1766, allocations: 2.75 kB / 304 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1766, allocations: 1.375 kB / 304 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1767, allocations: 3.531 kB / 304 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.1783, allocations: 1.172 MB / 305.2 MB, free: 18.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1783, allocations: 2.25 kB / 305.2 MB, free: 18.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.1785, allocations: 49.5 kB / 305.2 MB, free: 18.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.712e-05/0.1786, allocations: 31.11 kB / 305.2 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1786, allocations: 8.625 kB / 305.2 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006909/0.1793, allocations: 1.775 MB / 307 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1793, allocations: 3.594 kB / 307 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007283/0.1801, allocations: 0.6115 MB / 307.6 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.1803, allocations: 88.06 kB / 307.7 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.1803, allocations: 7.828 kB / 307.7 MB, free: 16.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.1806, allocations: 20.8 kB / 307.8 MB, free: 16.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.1807, allocations: 25.98 kB / 307.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1807, allocations: 13 kB / 307.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006427/0.1813, allocations: 0.5404 MB / 308.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1813, allocations: 0 / 308.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007216/0.1821, allocations: 160.4 kB / 308.5 MB, free: 15.84 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.0001742/0.1822, allocations: 117.9 kB / 308.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008436/0.1831, allocations: 0.5361 MB / 309.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1831, allocations: 1.656 kB / 309.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.1834, allocations: 302.9 kB / 309.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/0.1842, allocations: 172 kB / 309.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.1862, allocations: 1.388 MB / 311 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.1865, allocations: 355.8 kB / 311.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000251/0.1867, allocations: 82 kB / 311.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.505e-05/0.1868, allocations: 44.5 kB / 311.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1868, allocations: 0 / 311.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of Templates: time 0.0128/0.1996, allocations: 7.999 MB / 319.5 MB, free: 6.176 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.819292235071771]