Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001864/0.001864, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001971/0.001971, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.556/1.556, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.327/0.327, allocations: 34.26 MB / 295.3 MB, free: 0.6758 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.297e-05, allocations: 5.266 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001512/0.001545, allocations: 0.497 MB / 377.8 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.003624, allocations: 1.374 MB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.003649, allocations: 0 / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.135e-05/0.003661, allocations: 4 kB / 379.1 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.363e-05/0.003694, allocations: 3.938 kB / 379.1 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.004361, allocations: 215.9 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.608e-05/0.004407, allocations: 11.98 kB / 379.4 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.004443, allocations: 4 kB / 379.4 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.939e-05/0.004473, allocations: 4 kB / 379.4 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.004518, allocations: 3.984 kB / 379.4 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.004531, allocations: 0 / 379.4 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007014/0.005233, allocations: 263.6 kB / 379.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.005244, allocations: 4 kB / 379.6 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.00526, allocations: 7.938 kB / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.005579, allocations: 195.5 kB / 379.8 MB, free: 408 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.005583, allocations: 0 / 379.8 MB, free: 408 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005583, allocations: 0 / 379.8 MB, free: 408 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.005587, allocations: 0 / 379.8 MB, free: 408 kB / 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.000425/0.006012, allocations: 364.2 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.006044, allocations: 8.031 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.006101, allocations: 4.984 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.782e-05/0.006199, allocations: 108.6 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.006209, allocations: 384 / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.006219, allocations: 4.375 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.006342, allocations: 67.91 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.006351, allocations: 192 / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.006359, allocations: 384 / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.006367, allocations: 11.92 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.006398, allocations: 4 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.006816, allocations: 247.8 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.829e-05/0.006884, allocations: 31 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.006904, allocations: 7.688 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.006915, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.006949, allocations: 37.33 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.00695, allocations: 4.062 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001543/0.007104, allocations: 41.59 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.007148, allocations: 55.41 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.007266, allocations: 157.9 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.007284, allocations: 25.7 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.007368, allocations: 134.8 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-06/0.007373, allocations: 0 / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.007414, allocations: 27.31 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002582/0.007672, allocations: 496.1 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.007684, allocations: 256 / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.094e-05/0.007725, allocations: 35.06 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.941e-05/0.007774, allocations: 35 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.007776, allocations: 0 / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.405e-05/0.00786, allocations: 53.56 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.007872, allocations: 8 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.007876, allocations: 0 / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.007889, allocations: 96 / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.186e-05/0.00794, allocations: 16 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.007945, allocations: 0 / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.007968, allocations: 7.891 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.007975, allocations: 4 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 0.0001086/0.008084, allocations: 160.6 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.008108, allocations: 3.938 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.008215, allocations: 44.8 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.008217, allocations: 4.031 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.008222, allocations: 3.984 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.008223, allocations: 0 / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.008368, allocations: 108.6 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.008373, allocations: 4 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.008373, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.008375, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.008384, allocations: 3.938 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.008385, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008386, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.008554, allocations: 191.9 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-06/0.00856, allocations: 0 / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.008571, allocations: 3.938 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.386e-05/0.008625, allocations: 4 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.008646, allocations: 4 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.008649, allocations: 0 / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.82e-05/0.008717, allocations: 123.2 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008717, allocations: 0 / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.008992, allocations: 39.94 kB / 382.5 MB, free: 13.46 MB / 362.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.0002896/0.009281, allocations: 151.2 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.969e-05/0.009371, allocations: 23.62 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.009373, allocations: 0 / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.017e-05/0.009423, allocations: 41.39 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.009618, allocations: 4 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.009857, allocations: 98.44 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.937e-05/0.009916, allocations: 55.36 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.64e-05/0.009942, allocations: 8.234 kB / 382.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.009959, allocations: 12.5 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009959, allocations: 0 / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of Templates: time 0.004224/0.01418, allocations: 1.128 MB / 384 MB, free: 11.88 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.848612882080488]