Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.0009899/0.0009899, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001016/0.001016, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 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 0.908/0.908, allocations: 177.1 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.135/0.135, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.447e-05, allocations: 6.25 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001484/0.001509, allocations: 0.4972 MB / 379.8 MB, free: 22.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000297/0.001806, allocations: 103.6 kB / 379.9 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.001842, allocations: 0 / 379.9 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.001858, allocations: 0 / 379.9 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.002066, allocations: 19.91 kB / 379.9 MB, free: 22.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.711e-05/0.002083, allocations: 4 kB / 379.9 MB, free: 22.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.466e-05/0.002127, allocations: 3.938 kB / 379.9 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.00217, allocations: 4 kB / 379.9 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.674e-05/0.002196, allocations: 3.984 kB / 379.9 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.002248, allocations: 4 kB / 379.9 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.00226, allocations: 4 kB / 379.9 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.754e-05/0.002338, allocations: 15.98 kB / 379.9 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.002351, allocations: 4 kB / 379.9 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.176e-05/0.002363, allocations: 3.984 kB / 379.9 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.028e-05/0.002443, allocations: 31.84 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.002446, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.002447, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.00245, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001984/0.002648, allocations: 340.4 kB / 380.3 MB, free: 22.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.002682, allocations: 12.03 kB / 380.3 MB, free: 22.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.002709, allocations: 0.9375 kB / 380.3 MB, free: 22.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.61e-05/0.002765, allocations: 112.6 kB / 380.4 MB, free: 22.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.002775, allocations: 384 / 380.4 MB, free: 22.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.002791, allocations: 4.312 kB / 380.4 MB, free: 22.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.936e-05/0.002851, allocations: 42.23 kB / 380.5 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.00286, allocations: 0.5312 kB / 380.5 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-06/0.002866, allocations: 384 / 380.5 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.002871, allocations: 384 / 380.5 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.00289, allocations: 7.938 kB / 380.5 MB, free: 22.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.078e-05/0.002981, allocations: 105.2 kB / 380.6 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.003124, allocations: 43 kB / 380.6 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.334e-05/0.003147, allocations: 19.81 kB / 380.6 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/0.003351, allocations: 23.97 kB / 380.7 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.003368, allocations: 37.39 kB / 380.7 MB, free: 21.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.00337, allocations: 0 / 380.7 MB, free: 21.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007761/0.004146, allocations: 150.2 kB / 380.8 MB, free: 21.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.004169, allocations: 51.41 kB / 380.9 MB, free: 21.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.949e-05/0.004208, allocations: 157.9 kB / 381.1 MB, free: 21.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.004216, allocations: 29.7 kB / 381.1 MB, free: 21.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.142e-05/0.004227, allocations: 126.9 kB / 381.2 MB, free: 21.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.004255, allocations: 23.77 kB / 381.2 MB, free: 21.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.00429, allocations: 23.38 kB / 381.3 MB, free: 21.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.753e-05/0.004328, allocations: 496.1 kB / 381.7 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.004352, allocations: 7.984 kB / 381.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.00437, allocations: 8.062 kB / 381.8 MB, free: 20.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.506e-05/0.004416, allocations: 31.62 kB / 381.8 MB, free: 20.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.004417, allocations: 0 / 381.8 MB, free: 20.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.705e-05/0.004504, allocations: 49.69 kB / 381.8 MB, free: 20.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.004518, allocations: 10.19 kB / 381.8 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.004522, allocations: 0 / 381.8 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.004532, allocations: 0 / 381.8 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.004638, allocations: 11.98 kB / 381.9 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.004642, allocations: 4 kB / 381.9 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.344e-05/0.004695, allocations: 8.172 kB / 381.9 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.004702, allocations: 8 kB / 381.9 MB, free: 20.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.004743, allocations: 156.6 kB / 382 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.004759, allocations: 12 kB / 382 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.004874, allocations: 61.27 kB / 382.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.004877, allocations: 0 / 382.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.004878, allocations: 0 / 382.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.004881, allocations: 3.938 kB / 382.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.005248, allocations: 317.7 kB / 382.4 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.005251, allocations: 0 / 382.4 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.874e-05/0.005319, allocations: 11.98 kB / 382.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.005322, allocations: 0 / 382.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.005329, allocations: 8 kB / 382.4 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.005331, allocations: 0 / 382.4 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.005333, allocations: 3.938 kB / 382.4 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.994e-05/0.005433, allocations: 215.8 kB / 382.6 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-06/0.005439, allocations: 7.984 kB / 382.7 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.00545, allocations: 4.031 kB / 382.7 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.314e-05/0.005533, allocations: 4 kB / 382.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.005547, allocations: 11.91 kB / 382.7 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.005553, allocations: 8 kB / 382.7 MB, free: 19.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.439e-05/0.005568, allocations: 119.2 kB / 382.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005568, allocations: 0 / 382.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000254/0.005822, allocations: 8 kB / 382.8 MB, free: 19.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001036/0.005926, allocations: 99.19 kB / 382.9 MB, free: 19.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.123e-05/0.006017, allocations: 39.64 kB / 382.9 MB, free: 19.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006018, allocations: 4 kB / 382.9 MB, free: 19.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.482e-05/0.006043, allocations: 19.67 kB / 383 MB, free: 19.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.006256, allocations: 4 kB / 383 MB, free: 19.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.006522, allocations: 139.8 kB / 383.1 MB, free: 19.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.545e-05/0.006548, allocations: 59.2 kB / 383.2 MB, free: 19.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.2e-05/0.00659, allocations: 12.31 kB / 383.2 MB, free: 19.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.006636, allocations: 70.2 kB / 383.2 MB, free: 19.1 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.006637, allocations: 0 / 383.2 MB, free: 19.1 MB / 314.7 MB Notification: Performance of Templates: time 0.002758/0.009394, allocations: 0.7867 MB / 384 MB, free: 18.31 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.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.833880583755672]