Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001403/0.001403, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00125/0.00125, allocations: 161 kB / 24.56 MB, free: 16 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.005/1.005, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 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.2932/0.2932, allocations: 32.81 MB / 294.3 MB, free: 1.277 MB / 266.7 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.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.544e-06/2.544e-06, allocations: 0 / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.468e-05, allocations: 6.25 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.004995/0.00503, allocations: 0.5477 MB / 376.5 MB, free: 4.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004369/0.005466, allocations: 135.6 kB / 376.7 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.005503, allocations: 3.938 kB / 376.7 MB, free: 4 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.005526, allocations: 0 / 376.7 MB, free: 4 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.005845, allocations: 47.7 kB / 376.7 MB, free: 3.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.617e-06/0.005849, allocations: 0 / 376.7 MB, free: 3.953 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.564e-05/0.005915, allocations: 23.92 kB / 376.8 MB, free: 3.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.005962, allocations: 4 kB / 376.8 MB, free: 3.926 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.677e-05/0.005999, allocations: 11.92 kB / 376.8 MB, free: 3.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.808e-05/0.006067, allocations: 19.91 kB / 376.8 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.006082, allocations: 0 / 376.8 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.006206, allocations: 47.89 kB / 376.8 MB, free: 3.848 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.006219, allocations: 0 / 376.8 MB, free: 3.848 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.00624, allocations: 11.92 kB / 376.8 MB, free: 3.836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.006375, allocations: 43.88 kB / 376.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.006378, allocations: 0 / 376.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.00638, allocations: 3.938 kB / 376.9 MB, free: 3.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.006385, allocations: 4 kB / 376.9 MB, free: 3.785 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.003363/0.009748, allocations: 368.5 kB / 377.3 MB, free: 3.387 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.009797, allocations: 8.031 kB / 377.3 MB, free: 3.379 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.009847, allocations: 4.938 kB / 377.3 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.00995, allocations: 116.5 kB / 377.4 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.009964, allocations: 384 / 377.4 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.009982, allocations: 8.375 kB / 377.4 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.01011, allocations: 50.25 kB / 377.4 MB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.01012, allocations: 192 / 377.4 MB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.01013, allocations: 4.375 kB / 377.4 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.01014, allocations: 8.375 kB / 377.5 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.01024, allocations: 47.83 kB / 377.5 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.01041, allocations: 128.6 kB / 377.6 MB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.01058, allocations: 79.02 kB / 377.7 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.01063, allocations: 23.69 kB / 377.7 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/0.01087, allocations: 28.25 kB / 377.8 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.0109, allocations: 41.33 kB / 377.8 MB, free: 2.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.0109, allocations: 0 / 377.8 MB, free: 2.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002307/0.01113, allocations: 97.61 kB / 377.9 MB, free: 2.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.01116, allocations: 55.41 kB / 377.9 MB, free: 2.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.01124, allocations: 153.9 kB / 378.1 MB, free: 2.422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.01126, allocations: 29.7 kB / 378.1 MB, free: 2.387 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.0113, allocations: 126.9 kB / 378.2 MB, free: 2.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.01134, allocations: 43.61 kB / 378.3 MB, free: 2.215 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.01139, allocations: 27.38 kB / 378.3 MB, free: 2.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.01153, allocations: 496.1 kB / 378.8 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.27e-05/0.01156, allocations: 15.98 kB / 378.8 MB, free: 1.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.01159, allocations: 15.98 kB / 378.8 MB, free: 1.652 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.98e-05/0.01167, allocations: 47.75 kB / 378.9 MB, free: 1.602 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.01167, allocations: 4 kB / 378.9 MB, free: 1.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001258/0.0118, allocations: 82.12 kB / 379 MB, free: 1.512 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.01182, allocations: 8 kB / 379 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.01182, allocations: 0 / 379 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.01184, allocations: 0 / 379 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.01196, allocations: 15.98 kB / 379 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01196, allocations: 0 / 379 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.01199, allocations: 11.89 kB / 379 MB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.012, allocations: 4 kB / 379 MB, free: 1.473 MB / 346.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 0.0002197/0.01222, allocations: 160.6 kB / 379.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.01223, allocations: 8 kB / 379.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/0.01545, allocations: 97.59 kB / 379.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.01545, allocations: 4 kB / 379.3 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.01546, allocations: 0 / 379.3 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01546, allocations: 3.938 kB / 379.3 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.01558, allocations: 120.6 kB / 379.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01558, allocations: 0 / 379.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.57e-05/0.01567, allocations: 23.92 kB / 379.4 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.01567, allocations: 4 kB / 379.4 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.01568, allocations: 8 kB / 379.4 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01568, allocations: 0 / 379.4 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01569, allocations: 0 / 379.4 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.01586, allocations: 120.3 kB / 379.5 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.01588, allocations: 11.89 kB / 379.5 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.01589, allocations: 0 / 379.5 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.636e-05/0.01592, allocations: 4 kB / 379.6 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.01594, allocations: 7.984 kB / 379.6 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.01595, allocations: 4 kB / 379.6 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.217e-05/0.01599, allocations: 119.2 kB / 379.7 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01599, allocations: 96 / 379.7 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.01623, allocations: 23.94 kB / 379.7 MB, free: 0.6953 MB / 346.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 0.0001696/0.0164, allocations: 111.2 kB / 379.8 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.01654, allocations: 55.61 kB / 379.9 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01654, allocations: 0 / 379.9 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.01658, allocations: 35.55 kB / 379.9 MB, free: 488 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.01675, allocations: 11.98 kB / 379.9 MB, free: 476 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.01711, allocations: 138.2 kB / 380 MB, free: 308 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.014e-05/0.01715, allocations: 59.34 kB / 380.1 MB, free: 228 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.471e-05/0.01719, allocations: 8 kB / 380.1 MB, free: 220 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.01722, allocations: 12.5 kB / 380.1 MB, free: 208 kB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01722, allocations: 0 / 380.1 MB, free: 208 kB / 346.7 MB Notification: Performance of Templates: time 0.005933/0.02315, allocations: 0.6573 MB / 380.8 MB, free: 15.55 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.3117142799310386]