Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001317/0.001317, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.0014/0.0014, allocations: 166.5 kB / 23.95 MB, free: 4.16 MB / 14.72 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.381/1.381, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1951/0.1951, allocations: 32.8 MB / 293.5 MB, free: 56 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 440.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.099e-05, allocations: 6.281 kB / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001291/0.001312, allocations: 0.4927 MB / 440.6 MB, free: 7.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002913/0.001603, allocations: 95.66 kB / 440.7 MB, free: 7.605 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.001627, allocations: 0 / 440.7 MB, free: 7.605 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.068e-05/0.001638, allocations: 4 kB / 440.7 MB, free: 7.602 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.001844, allocations: 19.92 kB / 440.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.841e-05/0.001863, allocations: 3.938 kB / 440.7 MB, free: 7.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.32e-05/0.001906, allocations: 4 kB / 440.7 MB, free: 7.574 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.001943, allocations: 3.938 kB / 440.7 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.445e-05/0.001968, allocations: 4 kB / 440.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.002007, allocations: 3.984 kB / 440.7 MB, free: 7.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.002021, allocations: 3.984 kB / 440.7 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.002101, allocations: 19.98 kB / 440.7 MB, free: 7.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.002114, allocations: 3.938 kB / 440.7 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.241e-05/0.002126, allocations: 4 kB / 440.7 MB, free: 7.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.143e-05/0.002217, allocations: 23.97 kB / 440.8 MB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002219, allocations: 0 / 440.8 MB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.00222, allocations: 0 / 440.8 MB, free: 7.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.002223, allocations: 0 / 440.8 MB, free: 7.508 MB / 366.1 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.0003005/0.002523, allocations: 246.3 kB / 441 MB, free: 7.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.002557, allocations: 8.031 kB / 441 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.00258, allocations: 0.9375 kB / 441 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.643e-05/0.002676, allocations: 109.8 kB / 441.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.002691, allocations: 4.375 kB / 441.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.002713, allocations: 4.375 kB / 441.1 MB, free: 7.086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.272e-05/0.002806, allocations: 34.25 kB / 441.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.002816, allocations: 192 / 441.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.002826, allocations: 12.31 kB / 441.2 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.00283, allocations: 384 / 441.2 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.907e-05/0.002869, allocations: 15.88 kB / 441.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.003003, allocations: 101.4 kB / 441.3 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.003189, allocations: 30.58 kB / 441.3 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.003221, allocations: 12.94 kB / 441.3 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003364/0.003557, allocations: 43.89 kB / 441.4 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.003582, allocations: 34.56 kB / 441.4 MB, free: 6.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.003583, allocations: 0 / 441.4 MB, free: 6.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.001367/0.004949, allocations: 189.4 kB / 441.6 MB, free: 6.559 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.004989, allocations: 55.34 kB / 441.6 MB, free: 6.492 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.43e-05/0.005064, allocations: 93.84 kB / 441.7 MB, free: 6.391 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.005091, allocations: 29.7 kB / 441.8 MB, free: 6.355 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.005125, allocations: 80.14 kB / 441.8 MB, free: 6.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.005157, allocations: 15.84 kB / 441.9 MB, free: 6.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.005198, allocations: 17.66 kB / 441.9 MB, free: 6.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.00535, allocations: 322.8 kB / 442.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.455e-05/0.005435, allocations: 11.98 kB / 442.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/0.00553, allocations: 24.11 kB / 442.2 MB, free: 5.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.005692, allocations: 44.83 kB / 442.3 MB, free: 5.828 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.005693, allocations: 0 / 442.3 MB, free: 5.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002134/0.005906, allocations: 77.94 kB / 442.3 MB, free: 5.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.005921, allocations: 8 kB / 442.4 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.005925, allocations: 0 / 442.4 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.00594, allocations: 0 / 442.4 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.006069, allocations: 19.92 kB / 442.4 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.006081, allocations: 7.938 kB / 442.4 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.284e-05/0.006174, allocations: 7.984 kB / 442.4 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.006186, allocations: 3.984 kB / 442.4 MB, free: 5.699 MB / 366.1 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 9.681e-05/0.006282, allocations: 114.5 kB / 442.5 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.006293, allocations: 0 / 442.5 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.006568, allocations: 89.55 kB / 442.6 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.00657, allocations: 4 kB / 442.6 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.006577, allocations: 7.938 kB / 442.6 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.00658, allocations: 0 / 442.6 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007085/0.007288, allocations: 295 kB / 442.9 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.007293, allocations: 3.984 kB / 442.9 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.751e-05/0.007391, allocations: 12 kB / 442.9 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.007395, allocations: 3.984 kB / 442.9 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.007406, allocations: 11.91 kB / 442.9 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007407, allocations: 4 kB / 442.9 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007408, allocations: 3.938 kB / 442.9 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.007671, allocations: 180.3 kB / 443.1 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-06/0.007676, allocations: 0 / 443.1 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.007695, allocations: 3.938 kB / 443.1 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.0078, allocations: 7.984 kB / 443.1 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.007821, allocations: 4 kB / 443.1 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.007826, allocations: 0 / 443.1 MB, free: 4.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.874e-05/0.007865, allocations: 83.28 kB / 443.2 MB, free: 4.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.007865, allocations: 0 / 443.2 MB, free: 4.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.008102, allocations: 12 kB / 443.2 MB, free: 4.801 MB / 366.1 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.0001557/0.008258, allocations: 103.2 kB / 443.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.008469, allocations: 39.97 kB / 443.4 MB, free: 4.648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.008476, allocations: 0 / 443.4 MB, free: 4.648 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.379e-05/0.00857, allocations: 32.06 kB / 443.4 MB, free: 4.617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.00879, allocations: 14.28 kB / 443.4 MB, free: 4.605 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.009209, allocations: 125.7 kB / 443.5 MB, free: 4.453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.762e-05/0.009267, allocations: 63.34 kB / 443.6 MB, free: 4.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.939e-05/0.009306, allocations: 8 kB / 443.6 MB, free: 4.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.009341, allocations: 8.5 kB / 443.6 MB, free: 4.355 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.009341, allocations: 0 / 443.6 MB, free: 4.355 MB / 366.1 MB Notification: Performance of Templates: time 0.002929/0.01227, allocations: 0.7141 MB / 444.3 MB, free: 3.637 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.4783132672309875]