Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.0009398/0.0009398, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.00128/0.00128, allocations: 175.1 kB / 25.61 MB, free: 8.883 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.8958/0.8958, allocations: 177.1 MB / 206.1 MB, free: 4.469 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.1309/0.1309, allocations: 34.26 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.751e-05, allocations: 2.312 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001244/0.001262, allocations: 0.4984 MB / 379.8 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.002722, allocations: 1.385 MB / 381.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.00275, allocations: 0 / 381.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.002764, allocations: 0 / 381.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.932e-05/0.002794, allocations: 3.938 kB / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.003374, allocations: 215.9 kB / 381.4 MB, free: 21.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.538e-05/0.003419, allocations: 8 kB / 381.4 MB, free: 21.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.003458, allocations: 7.984 kB / 381.4 MB, free: 21.3 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.582e-05/0.003484, allocations: 4 kB / 381.4 MB, free: 21.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.00353, allocations: 7.938 kB / 381.4 MB, free: 21.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.003543, allocations: 0 / 381.4 MB, free: 21.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.003923, allocations: 263.6 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.003935, allocations: 0 / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.233e-05/0.003947, allocations: 7.984 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.004167, allocations: 187.6 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004168, allocations: 0 / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004169, allocations: 0 / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.004172, allocations: 8 kB / 381.9 MB, free: 20.83 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002312/0.004404, allocations: 360.2 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.004434, allocations: 8.031 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.004459, allocations: 4.875 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.782e-05/0.004517, allocations: 116.9 kB / 382.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.004529, allocations: 4.375 kB / 382.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.004535, allocations: 384 / 382.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.114e-05/0.004596, allocations: 55.97 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004603, allocations: 4.125 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.004608, allocations: 384 / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.004615, allocations: 7.938 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.037e-06/0.004624, allocations: 0 / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.924e-05/0.004694, allocations: 97.25 kB / 382.5 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.333e-05/0.004727, allocations: 31.03 kB / 382.5 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.198e-05/0.004739, allocations: 7.688 kB / 382.5 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.004745, allocations: 0 / 382.5 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.004763, allocations: 33.39 kB / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.004764, allocations: 64 / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 9.504e-05/0.004859, allocations: 37.7 kB / 382.6 MB, free: 19.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.004878, allocations: 55.47 kB / 382.7 MB, free: 19.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.884e-05/0.004927, allocations: 169.8 kB / 382.8 MB, free: 19.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.004936, allocations: 25.7 kB / 382.8 MB, free: 19.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.471e-05/0.004951, allocations: 126.9 kB / 383 MB, free: 19.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.00497, allocations: 0 / 383 MB, free: 19.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.004995, allocations: 19.38 kB / 383 MB, free: 19.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.543e-05/0.00504, allocations: 492.1 kB / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-06/0.005047, allocations: 0 / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-06/0.005054, allocations: 4 kB / 383.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.116e-05/0.005075, allocations: 11.86 kB / 383.5 MB, free: 19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005077, allocations: 4 kB / 383.5 MB, free: 18.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.163e-05/0.005129, allocations: 41.64 kB / 383.5 MB, free: 18.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.00514, allocations: 4 kB / 383.5 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.005143, allocations: 0 / 383.5 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/0.005152, allocations: 0 / 383.5 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.005199, allocations: 4 kB / 383.5 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.005201, allocations: 0 / 383.5 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.005212, allocations: 3.938 kB / 383.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.005218, allocations: 0 / 383.5 MB, free: 18.93 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 (1): * Single equations (assignments): 1 * 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 3.768e-05/0.005255, allocations: 160.6 kB / 383.7 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-06/0.005263, allocations: 4.031 kB / 383.7 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.658e-05/0.00535, allocations: 44.81 kB / 383.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.005352, allocations: 0 / 383.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.005354, allocations: 0 / 383.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.005357, allocations: 7.922 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.923e-05/0.005407, allocations: 101.2 kB / 383.9 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.005411, allocations: 4 kB / 383.9 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.005412, allocations: 4.031 kB / 383.9 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.005414, allocations: 7.984 kB / 383.9 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.005418, allocations: 3.938 kB / 383.9 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.005418, allocations: 0 / 383.9 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005419, allocations: 0 / 383.9 MB, free: 18.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.663e-05/0.005466, allocations: 72.38 kB / 383.9 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-06/0.00547, allocations: 0 / 383.9 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.005478, allocations: 4 kB / 383.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.835e-05/0.005527, allocations: 0 / 383.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.005536, allocations: 0 / 383.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.005541, allocations: 8.031 kB / 384 MB, free: 18.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.46e-05/0.005556, allocations: 123.2 kB / 384.1 MB, free: 18.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005556, allocations: 0 / 384.1 MB, free: 18.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002747/0.00583, allocations: 43.94 kB / 384.1 MB, free: 18.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002135/0.006044, allocations: 139.2 kB / 384.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.059e-05/0.006104, allocations: 23.56 kB / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.006106, allocations: 0 / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.178e-05/0.006128, allocations: 41.38 kB / 384.3 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.006276, allocations: 4.219 kB / 384.3 MB, free: 18.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001457/0.006421, allocations: 96.33 kB / 384.4 MB, free: 17.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.8e-05/0.006439, allocations: 55.22 kB / 384.5 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.499e-05/0.006454, allocations: 0 / 384.5 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.006492, allocations: 74.2 kB / 384.5 MB, free: 17.79 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.006493, allocations: 0 / 384.5 MB, free: 17.79 MB / 314.7 MB Notification: Performance of Templates: time 0.003024/0.009517, allocations: 1.257 MB / 385.8 MB, free: 16.53 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.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.7587903500534594]