Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.0009658/0.0009658, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001007/0.001007, allocations: 170.4 kB / 25.61 MB, free: 8.914 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.8785/0.8785, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.1349/0.1349, allocations: 34.27 MB / 296.9 MB, free: 13.93 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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.269e-05, allocations: 6.922 kB / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0008501/0.0008628, allocations: 0.5245 MB / 379.8 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002249/0.001088, allocations: 151.4 kB / 379.9 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.001111, allocations: 0 / 379.9 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.001124, allocations: 0 / 379.9 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.001302, allocations: 43.69 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.786e-06/0.001304, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.014e-05/0.001344, allocations: 23.92 kB / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.001376, allocations: 4 kB / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.233e-05/0.001398, allocations: 15.92 kB / 380 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.423e-05/0.001443, allocations: 7.984 kB / 380 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.001452, allocations: 4 kB / 380 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-05/0.001524, allocations: 47.94 kB / 380.1 MB, free: 22.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.001534, allocations: 3.938 kB / 380.1 MB, free: 22.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.068e-05/0.001544, allocations: 11.92 kB / 380.1 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 7.865e-05/0.001623, allocations: 47.81 kB / 380.2 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.001625, allocations: 4 kB / 380.2 MB, free: 22.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.001625, allocations: 0 / 380.2 MB, free: 22.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.001629, allocations: 0 / 380.2 MB, free: 22.55 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0001549/0.001784, allocations: 364.2 kB / 380.5 MB, free: 22.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.001811, allocations: 8.031 kB / 380.5 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.001836, allocations: 9.234 kB / 380.5 MB, free: 22.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.607e-05/0.001882, allocations: 108.6 kB / 380.6 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.001891, allocations: 4.375 kB / 380.6 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.001898, allocations: 8.375 kB / 380.6 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.418e-05/0.001952, allocations: 54.17 kB / 380.7 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.001959, allocations: 4.188 kB / 380.7 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.001966, allocations: 4.312 kB / 380.7 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.001971, allocations: 4.359 kB / 380.7 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.806e-05/0.002019, allocations: 43.89 kB / 380.8 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.699e-05/0.002096, allocations: 109.2 kB / 380.9 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.517e-05/0.002171, allocations: 71.08 kB / 380.9 MB, free: 21.67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.00219, allocations: 23.67 kB / 381 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.002313, allocations: 23.97 kB / 381 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.002326, allocations: 37.39 kB / 381 MB, free: 21.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 7.11e-07/0.002327, allocations: 4 kB / 381 MB, free: 21.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001125/0.00244, allocations: 85.98 kB / 381.1 MB, free: 21.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.719e-05/0.002457, allocations: 59.39 kB / 381.2 MB, free: 21.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.048e-05/0.002487, allocations: 157.9 kB / 381.3 MB, free: 21.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-06/0.002492, allocations: 25.7 kB / 381.3 MB, free: 21.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.059e-05/0.002502, allocations: 130.9 kB / 381.5 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.002525, allocations: 31.7 kB / 381.5 MB, free: 21.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.002549, allocations: 31.34 kB / 381.5 MB, free: 21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.077e-05/0.00259, allocations: 0.4883 MB / 382 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.002601, allocations: 11.98 kB / 382 MB, free: 20.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.002612, allocations: 11.94 kB / 382 MB, free: 20.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/0.002645, allocations: 39.66 kB / 382.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.002646, allocations: 4.125 kB / 382.1 MB, free: 20.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 5.344e-05/0.0027, allocations: 73.62 kB / 382.2 MB, free: 20.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.002708, allocations: 4 kB / 382.2 MB, free: 20.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.002711, allocations: 4 kB / 382.2 MB, free: 20.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.002719, allocations: 0 / 382.2 MB, free: 20.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.002774, allocations: 15.98 kB / 382.2 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.002776, allocations: 3.984 kB / 382.2 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.00279, allocations: 11.89 kB / 382.2 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.002794, allocations: 7.938 kB / 382.2 MB, free: 20.31 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 (10): * Single equations (assignments): 10 * 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.212e-05/0.002826, allocations: 156.5 kB / 382.4 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-06/0.002834, allocations: 16 kB / 382.4 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-05/0.002914, allocations: 81.58 kB / 382.4 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.002915, allocations: 3.984 kB / 382.5 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.002917, allocations: 0 / 382.5 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.00292, allocations: 4 kB / 382.5 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.879e-05/0.002969, allocations: 117.1 kB / 382.6 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.002969, allocations: 0 / 382.6 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.002998, allocations: 19.98 kB / 382.6 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.002999, allocations: 4 kB / 382.6 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-06/0.003003, allocations: 0 / 382.6 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.003003, allocations: 8 kB / 382.6 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.6e-07/0.003004, allocations: 0 / 382.6 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.684e-05/0.00306, allocations: 112.3 kB / 382.7 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-06/0.003066, allocations: 11.94 kB / 382.7 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-06/0.003073, allocations: 0 / 382.7 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-06/0.003082, allocations: 4 kB / 382.7 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.003094, allocations: 7.984 kB / 382.7 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.003096, allocations: 0 / 382.7 MB, free: 19.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.158e-05/0.003108, allocations: 123.2 kB / 382.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003108, allocations: 0 / 382.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001258/0.003234, allocations: 16.03 kB / 382.9 MB, free: 19.57 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 (10): * Single equations (assignments): 10 * 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 6.818e-05/0.003302, allocations: 107.2 kB / 383 MB, free: 19.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.655e-05/0.003368, allocations: 52.2 kB / 383 MB, free: 19.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.003369, allocations: 0 / 383 MB, free: 19.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.003386, allocations: 31.8 kB / 383.1 MB, free: 19.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.003591, allocations: 10.69 kB / 383.1 MB, free: 19.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001726/0.003764, allocations: 144.2 kB / 383.2 MB, free: 19.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.572e-05/0.003779, allocations: 63.16 kB / 383.3 MB, free: 19.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.349e-05/0.003803, allocations: 15.84 kB / 383.3 MB, free: 19.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.003828, allocations: 74.2 kB / 383.4 MB, free: 19.02 MB / 314.7 MB Notification: Performance of SimCode: time 3.41e-07/0.003828, allocations: 0 / 383.4 MB, free: 19.02 MB / 314.7 MB Notification: Performance of Templates: time 0.001737/0.005565, allocations: 0.7306 MB / 384.1 MB, free: 18.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.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.888436295092106]