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.0009406/0.0009406, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.00111/0.00111, allocations: 165 kB / 24.56 MB, free: 12 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 0.897/0.897, allocations: 177.1 MB / 205 MB, free: 5.613 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.2354/0.2354, allocations: 34.26 MB / 295.7 MB, free: 0.7305 MB / 266.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.643e-06/1.643e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.925e-05, allocations: 2.312 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001789/0.001819, allocations: 0.5011 MB / 378.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003227/0.002141, allocations: 107.6 kB / 378.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.002172, allocations: 0 / 378.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.002194, allocations: 0 / 378.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.002441, allocations: 11.92 kB / 378.6 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.798e-05/0.002459, allocations: 8 kB / 378.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.852e-05/0.002517, allocations: 3.984 kB / 378.7 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.002555, allocations: 4 kB / 378.7 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.002588, allocations: 11.92 kB / 378.7 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.519e-05/0.002634, allocations: 4 kB / 378.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.002648, allocations: 0 / 378.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.785e-05/0.002736, allocations: 19.97 kB / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.002749, allocations: 0 / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.508e-05/0.002764, allocations: 4 kB / 378.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.763e-05/0.002862, allocations: 23.91 kB / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.002865, allocations: 3.938 kB / 378.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.002866, allocations: 0 / 378.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.002871, allocations: 0 / 378.7 MB, free: 1.953 MB / 346.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.0003126/0.003183, allocations: 340.4 kB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.003227, allocations: 16.03 kB / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.003271, allocations: 1.281 kB / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.969e-05/0.003371, allocations: 116.5 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.003382, allocations: 4.375 kB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.003405, allocations: 4.375 kB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.918e-05/0.003495, allocations: 30.27 kB / 379.2 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.003506, allocations: 4.172 kB / 379.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.003516, allocations: 384 / 379.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.003524, allocations: 384 / 379.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.48e-05/0.003559, allocations: 11.92 kB / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.003701, allocations: 120.6 kB / 379.4 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.003906, allocations: 47.03 kB / 379.4 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.003935, allocations: 11.69 kB / 379.4 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.004176, allocations: 28.05 kB / 379.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.004201, allocations: 37.39 kB / 379.5 MB, free: 1.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.004202, allocations: 0 / 379.5 MB, free: 1.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006765/0.004878, allocations: 162.1 kB / 379.6 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.004905, allocations: 55.34 kB / 379.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.663e-05/0.004962, allocations: 153.9 kB / 379.8 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.004972, allocations: 25.7 kB / 379.9 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.005, allocations: 130.9 kB / 380 MB, free: 0.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.005024, allocations: 11.86 kB / 380 MB, free: 500 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.005062, allocations: 27.36 kB / 380 MB, free: 464 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.005175, allocations: 496.2 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/0.005197, allocations: 8 kB / 380.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.938e-05/0.005217, allocations: 15.98 kB / 380.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/0.005261, allocations: 27.62 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.005262, allocations: 0 / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.097e-05/0.005343, allocations: 61.94 kB / 380.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.005356, allocations: 5.719 kB / 380.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.005361, allocations: 0 / 380.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.005372, allocations: 3.938 kB / 380.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.005443, allocations: 15.98 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.00545, allocations: 3.938 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.005479, allocations: 4 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.005484, allocations: 4 kB / 380.7 MB, free: 15.8 MB / 362.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 6.106e-05/0.005546, allocations: 164.5 kB / 380.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.005555, allocations: 4 kB / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.005671, allocations: 65.33 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005672, allocations: 0 / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.005677, allocations: 3.938 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.00568, allocations: 4 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.006012, allocations: 333 kB / 381.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.006014, allocations: 0 / 381.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.006052, allocations: 11.98 kB / 381.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.006056, allocations: 4 kB / 381.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.006063, allocations: 3.938 kB / 381.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006065, allocations: 0 / 381.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006066, allocations: 0 / 381.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.967e-05/0.006166, allocations: 219.6 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-06/0.006171, allocations: 336 / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.006182, allocations: 7.922 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.162e-05/0.006223, allocations: 4 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.006239, allocations: 8 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.00625, allocations: 12.09 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.703e-05/0.006277, allocations: 119.2 kB / 381.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006277, allocations: 0 / 381.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.006423, allocations: 11.94 kB / 381.6 MB, free: 14.76 MB / 362.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.0001035/0.006527, allocations: 99.34 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.139e-05/0.006618, allocations: 39.61 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.00662, allocations: 0 / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.395e-05/0.006644, allocations: 23.67 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.006792, allocations: 7.938 kB / 381.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.007028, allocations: 141.9 kB / 381.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.194e-05/0.00706, allocations: 55.36 kB / 382 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.705e-05/0.007087, allocations: 15.98 kB / 382 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.007112, allocations: 8.5 kB / 382 MB, free: 14.31 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007112, allocations: 0 / 382 MB, free: 14.31 MB / 362.7 MB Notification: Performance of Templates: time 0.002189/0.009301, allocations: 0.7674 MB / 382.8 MB, free: 13.54 MB / 362.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.803965223953128]