Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.002517/0.002517, allocations: 99.86 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.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.0027/0.0027, allocations: 145.1 kB / 24.26 MB, free: 172 kB / 18.57 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 1.664/1.664, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.988e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01146/0.01149, allocations: 7.879 MB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005402/0.01689, allocations: 2.548 MB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008879/0.01777, allocations: 27.88 kB / 277.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.01935, allocations: 0.5168 MB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.02068, allocations: 0.5 MB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.02121, allocations: 247.6 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001953/0.02316, allocations: 1.482 MB / 280.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006783/0.02384, allocations: 375.2 kB / 280.9 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.02505, allocations: 0.8456 MB / 281.7 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006967/0.02574, allocations: 458.6 kB / 282.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.02594, allocations: 140 kB / 282.3 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.02631, allocations: 179.9 kB / 282.5 MB, free: 7.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.02657, allocations: 282.9 kB / 282.8 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005596/0.02713, allocations: 454.9 kB / 283.2 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.02954, allocations: 1.705 MB / 284.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.02954, allocations: 0 / 284.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.02955, allocations: 0 / 284.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.02957, allocations: 0 / 284.9 MB, free: 5.043 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002767/0.03233, allocations: 1.585 MB / 286.5 MB, free: 3.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.03237, allocations: 8.922 kB / 286.5 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006964/0.03307, allocations: 264 kB / 286.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.03433, allocations: 0.6795 MB / 287.4 MB, free: 2.445 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.661e-05/0.0344, allocations: 78 kB / 287.5 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.03455, allocations: 96 kB / 287.6 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.03639, allocations: 1.061 MB / 288.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.185e-05/0.03643, allocations: 11.92 kB / 288.7 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.354e-05/0.03651, allocations: 40 kB / 288.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.03654, allocations: 24 kB / 288.7 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.0378, allocations: 0.5973 MB / 289.3 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1027/0.1405, allocations: 4.707 MB / 294.1 MB, free: 30 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.141, allocations: 267 kB / 294.3 MB, free: 29.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.1412, allocations: 138.3 kB / 294.4 MB, free: 29.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.1412, allocations: 6.219 kB / 294.5 MB, free: 29.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.1413, allocations: 44.14 kB / 294.5 MB, free: 29.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.713e-06/0.1413, allocations: 4.188 kB / 294.5 MB, free: 29.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001904/0.1432, allocations: 1.028 MB / 295.5 MB, free: 29.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.1432, allocations: 81.5 kB / 295.6 MB, free: 29.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.1443, allocations: 0.9669 MB / 296.6 MB, free: 28.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1443, allocations: 35.77 kB / 296.6 MB, free: 28.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.1446, allocations: 0.6785 MB / 297.3 MB, free: 28.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.775e-05/0.1447, allocations: 144.7 kB / 297.4 MB, free: 28.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.1448, allocations: 155.4 kB / 297.6 MB, free: 27.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.145, allocations: 0.6109 MB / 298.2 MB, free: 27.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.1453, allocations: 139.4 kB / 298.3 MB, free: 27.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.1457, allocations: 0.6155 MB / 298.9 MB, free: 26.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.1463, allocations: 0.7751 MB / 299.7 MB, free: 25.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.1463, allocations: 3.5 kB / 299.7 MB, free: 25.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001023/0.1474, allocations: 0.707 MB / 300.4 MB, free: 25.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1474, allocations: 12.62 kB / 300.4 MB, free: 25.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.1474, allocations: 11.02 kB / 300.5 MB, free: 25.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.1476, allocations: 42.58 kB / 300.5 MB, free: 25.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/0.148, allocations: 155.5 kB / 300.6 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007329/0.1488, allocations: 1.787 MB / 302.4 MB, free: 23.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.1492, allocations: 35.55 kB / 302.5 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.1493, allocations: 35.78 kB / 302.5 MB, free: 23.83 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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.0002789/0.1495, allocations: 302.9 kB / 302.8 MB, free: 23.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.1497, allocations: 90.02 kB / 302.9 MB, free: 23.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006203/0.1503, allocations: 361.6 kB / 303.2 MB, free: 23.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1503, allocations: 3.375 kB / 303.2 MB, free: 23.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1503, allocations: 2.234 kB / 303.2 MB, free: 23.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1503, allocations: 5.172 kB / 303.3 MB, free: 23.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.1521, allocations: 1.326 MB / 304.6 MB, free: 22.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1521, allocations: 4.688 kB / 304.6 MB, free: 22.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.1524, allocations: 64.72 kB / 304.6 MB, free: 22.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.597e-05/0.1524, allocations: 30.05 kB / 304.7 MB, free: 22.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.1525, allocations: 12.06 kB / 304.7 MB, free: 22.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006458/0.1531, allocations: 1.772 MB / 306.5 MB, free: 20.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1531, allocations: 2.594 kB / 306.5 MB, free: 20.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008259/0.1539, allocations: 0.6925 MB / 307.2 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.1541, allocations: 103.7 kB / 307.3 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.551e-05/0.1542, allocations: 9.734 kB / 307.3 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.1546, allocations: 21.23 kB / 307.3 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.1546, allocations: 34.88 kB / 307.3 MB, free: 20.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.1547, allocations: 9.125 kB / 307.3 MB, free: 20.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006697/0.1553, allocations: 0.5932 MB / 307.9 MB, free: 19.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1553, allocations: 0 / 307.9 MB, free: 19.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007183/0.156, allocations: 194.4 kB / 308.1 MB, free: 19.9 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.0001743/0.1562, allocations: 116.5 kB / 308.2 MB, free: 19.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008289/0.157, allocations: 0.589 MB / 308.8 MB, free: 19.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.157, allocations: 0 / 308.8 MB, free: 19.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.1574, allocations: 331.8 kB / 309.1 MB, free: 19.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009106/0.1583, allocations: 192.8 kB / 309.3 MB, free: 19.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.1603, allocations: 1.648 MB / 311 MB, free: 18.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.1606, allocations: 404.3 kB / 311.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002668/0.1609, allocations: 94.28 kB / 311.5 MB, free: 17.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.92e-05/0.161, allocations: 51.69 kB / 311.5 MB, free: 17.68 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.161, allocations: 0 / 311.5 MB, free: 17.68 MB / 266.7 MB Notification: Performance of Templates: time 0.01378/0.1748, allocations: 8.979 MB / 320.5 MB, free: 9.102 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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: 5.126142941066064]