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.00196/0.00196, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.002314/0.002314, allocations: 149.4 kB / 24.25 MB, free: 188 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.456/1.456, allocations: 173.4 MB / 200.8 MB, free: 9.293 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 2.354e-06/2.354e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.265e-05/3.501e-05, allocations: 6.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01439/0.01443, allocations: 7.073 MB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006568/0.021, allocations: 2.42 MB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.02207, allocations: 27.88 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.02431, allocations: 0.5207 MB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.02636, allocations: 0.5039 MB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007628/0.02712, allocations: 239.7 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002418/0.02954, allocations: 1.486 MB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007113/0.03025, allocations: 379.2 kB / 280 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.03155, allocations: 0.8378 MB / 280.8 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007119/0.03226, allocations: 430.6 kB / 281.2 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.03246, allocations: 136 kB / 281.3 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003745/0.03284, allocations: 171.9 kB / 281.5 MB, free: 8.426 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.03311, allocations: 282.9 kB / 281.8 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005608/0.03367, allocations: 446.9 kB / 282.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.03593, allocations: 1.702 MB / 283.9 MB, free: 6.004 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.03594, allocations: 3.984 kB / 283.9 MB, free: 6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.03594, allocations: 0 / 283.9 MB, free: 6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.03596, allocations: 0 / 283.9 MB, free: 6 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.002706/0.03867, allocations: 1.384 MB / 285.3 MB, free: 4.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.03871, allocations: 8.922 kB / 285.3 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007425/0.03945, allocations: 256 kB / 285.6 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.04088, allocations: 0.6807 MB / 286.3 MB, free: 3.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/0.04095, allocations: 70 kB / 286.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.04113, allocations: 99.98 kB / 286.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.04303, allocations: 0.9982 MB / 287.4 MB, free: 2.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.04306, allocations: 3.953 kB / 287.4 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.654e-05/0.04316, allocations: 44 kB / 287.5 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.04318, allocations: 24 kB / 287.5 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.04453, allocations: 0.6207 MB / 288.1 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1231/0.1677, allocations: 3.399 MB / 291.5 MB, free: 30.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008579/0.1685, allocations: 268.5 kB / 291.8 MB, free: 30.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/0.169, allocations: 137 kB / 291.9 MB, free: 30.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.169, allocations: 8.891 kB / 291.9 MB, free: 30.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.169, allocations: 36.03 kB / 292 MB, free: 30.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.835e-06/0.169, allocations: 0.75 kB / 292 MB, free: 30.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.003357/0.1724, allocations: 1.052 MB / 293 MB, free: 30.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.47e-05/0.1724, allocations: 81.5 kB / 293.1 MB, free: 30.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.1738, allocations: 0.7523 MB / 293.8 MB, free: 30.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.1738, allocations: 35.64 kB / 293.9 MB, free: 29.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/0.1743, allocations: 0.5905 MB / 294.5 MB, free: 29.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.1744, allocations: 132.5 kB / 294.6 MB, free: 29.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.1746, allocations: 126 kB / 294.7 MB, free: 29.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1747, allocations: 382.3 kB / 295.1 MB, free: 29.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.1751, allocations: 151.2 kB / 295.2 MB, free: 29.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.1757, allocations: 485 kB / 295.7 MB, free: 28.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.1768, allocations: 0.6401 MB / 296.3 MB, free: 28.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.1768, allocations: 2.406 kB / 296.4 MB, free: 28.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001837/0.1786, allocations: 0.7238 MB / 297.1 MB, free: 27.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.1787, allocations: 8.906 kB / 297.1 MB, free: 27.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.1787, allocations: 11.55 kB / 297.1 MB, free: 27.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/0.1789, allocations: 38.33 kB / 297.1 MB, free: 27.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008046/0.1797, allocations: 157.7 kB / 297.3 MB, free: 27.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009919/0.1807, allocations: 1.261 MB / 298.5 MB, free: 26.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008965/0.1816, allocations: 38.3 kB / 298.6 MB, free: 26.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/0.1817, allocations: 34.38 kB / 298.6 MB, free: 26.4 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.000503/0.1822, allocations: 258.8 kB / 298.9 MB, free: 26.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.1824, allocations: 90.81 kB / 299 MB, free: 26.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.1834, allocations: 366.8 kB / 299.3 MB, free: 25.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1834, allocations: 5.344 kB / 299.3 MB, free: 25.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1834, allocations: 1.219 kB / 299.3 MB, free: 25.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.1834, allocations: 2.297 kB / 299.3 MB, free: 25.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.186, allocations: 1.043 MB / 300.4 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.186, allocations: 2.25 kB / 300.4 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/0.1865, allocations: 68.86 kB / 300.4 MB, free: 25.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000144/0.1867, allocations: 24.16 kB / 300.5 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.1867, allocations: 15.05 kB / 300.5 MB, free: 25.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009483/0.1877, allocations: 1.245 MB / 301.7 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.1877, allocations: 6.156 kB / 301.7 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.1891, allocations: 0.6414 MB / 302.4 MB, free: 23.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.1895, allocations: 104.6 kB / 302.5 MB, free: 23.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.1896, allocations: 13.66 kB / 302.5 MB, free: 23.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.1902, allocations: 25.84 kB / 302.5 MB, free: 23.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.1904, allocations: 27.05 kB / 302.5 MB, free: 23.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.1904, allocations: 8.922 kB / 302.5 MB, free: 23.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009735/0.1914, allocations: 0.5013 MB / 303 MB, free: 23.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1914, allocations: 4 kB / 303.1 MB, free: 23.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001352/0.1927, allocations: 188.4 kB / 303.2 MB, free: 23.39 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.0002566/0.193, allocations: 120.1 kB / 303.4 MB, free: 23.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.1944, allocations: 0.4996 MB / 303.9 MB, free: 23.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.1944, allocations: 2.641 kB / 303.9 MB, free: 23.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005394/0.1949, allocations: 257.3 kB / 304.1 MB, free: 22.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.1964, allocations: 191.6 kB / 304.3 MB, free: 22.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.1999, allocations: 1.618 MB / 305.9 MB, free: 21.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.2005, allocations: 408.8 kB / 306.3 MB, free: 21.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004241/0.201, allocations: 91.06 kB / 306.4 MB, free: 21.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.2011, allocations: 55.12 kB / 306.5 MB, free: 21.69 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2011, allocations: 0 / 306.5 MB, free: 21.69 MB / 266.7 MB Notification: Performance of Templates: time 0.01508/0.2162, allocations: 8.972 MB / 315.4 MB, free: 14.61 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] 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: 4.686725639970973]