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.0008645/0.0008645, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003635/0.003635, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.8154/0.8154, allocations: 177.1 MB / 205 MB, free: 5.727 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.2462/0.2462, allocations: 34.25 MB / 295.7 MB, free: 0.7188 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.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.443e-06/1.443e-06, allocations: 0 / 443.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.018e-05, allocations: 2.281 kB / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0009455/0.0009657, allocations: 0.5166 MB / 443.9 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002924/0.001258, allocations: 147.5 kB / 444.1 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.001285, allocations: 4 kB / 444.1 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.001301, allocations: 3.938 kB / 444.1 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.001513, allocations: 35.77 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.078e-06/0.001517, allocations: 0 / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.889e-05/0.001566, allocations: 19.92 kB / 444.1 MB, free: 476 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.00161, allocations: 11.98 kB / 444.2 MB, free: 464 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.001639, allocations: 11.94 kB / 444.2 MB, free: 452 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.00169, allocations: 11.92 kB / 444.2 MB, free: 440 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.0017, allocations: 0 / 444.2 MB, free: 440 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.144e-05/0.001782, allocations: 47.94 kB / 444.2 MB, free: 392 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.001794, allocations: 11.92 kB / 444.2 MB, free: 380 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.269e-05/0.001807, allocations: 4 kB / 444.2 MB, free: 376 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.774e-05/0.001905, allocations: 51.8 kB / 444.3 MB, free: 324 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.001907, allocations: 0 / 444.3 MB, free: 324 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.001908, allocations: 0 / 444.3 MB, free: 324 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.001912, allocations: 4 kB / 444.3 MB, free: 320 kB / 410.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.0002456/0.002157, allocations: 266.2 kB / 444.6 MB, free: 20 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.002192, allocations: 8.031 kB / 444.6 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.002222, allocations: 4.938 kB / 444.6 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1535/0.1557, allocations: 103.6 kB / 444.7 MB, free: 44.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1557, allocations: 7.625 kB / 444.7 MB, free: 44.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.1558, allocations: 7.562 kB / 444.7 MB, free: 44.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.1559, allocations: 61.89 kB / 444.7 MB, free: 44.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1559, allocations: 192 / 444.7 MB, free: 44.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1559, allocations: 2.125 kB / 444.7 MB, free: 44.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1559, allocations: 1.125 kB / 444.7 MB, free: 44.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.156, allocations: 56.22 kB / 444.8 MB, free: 44.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.1561, allocations: 115.3 kB / 444.9 MB, free: 44.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.1562, allocations: 74.66 kB / 445 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.1562, allocations: 31.05 kB / 445 MB, free: 44.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.1564, allocations: 23.73 kB / 445 MB, free: 44.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.353e-05/0.1564, allocations: 36.64 kB / 445.1 MB, free: 44.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 8.21e-07/0.1564, allocations: 0 / 445.1 MB, free: 44.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001732/0.1566, allocations: 103.5 kB / 445.2 MB, free: 44.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.1566, allocations: 55.34 kB / 445.2 MB, free: 44.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.295e-05/0.1566, allocations: 92.02 kB / 445.3 MB, free: 43.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-06/0.1566, allocations: 30.61 kB / 445.4 MB, free: 43.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.023e-06/0.1566, allocations: 80.14 kB / 445.4 MB, free: 43.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1567, allocations: 34.47 kB / 445.5 MB, free: 43.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.1567, allocations: 29.23 kB / 445.5 MB, free: 43.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.539e-05/0.1567, allocations: 319.9 kB / 445.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.1567, allocations: 22.14 kB / 445.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.1568, allocations: 14.75 kB / 445.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.1568, allocations: 51.78 kB / 445.9 MB, free: 43.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1568, allocations: 0.5 kB / 445.9 MB, free: 43.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.556e-05/0.1569, allocations: 88.78 kB / 446 MB, free: 43.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1569, allocations: 7.281 kB / 446 MB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1569, allocations: 2.875 kB / 446 MB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1569, allocations: 0 / 446 MB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.157, allocations: 17.19 kB / 446 MB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.157, allocations: 2.906 kB / 446 MB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/0.157, allocations: 2.812 kB / 446 MB, free: 43.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.157, allocations: 6.25 kB / 446 MB, free: 43.43 MB / 410.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.334e-05/0.157, allocations: 121.3 kB / 446.1 MB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-06/0.157, allocations: 6.859 kB / 446.1 MB, free: 43.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.1571, allocations: 100.7 kB / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1571, allocations: 2.906 kB / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1572, allocations: 0 / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1572, allocations: 0 / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.432e-05/0.1572, allocations: 123.3 kB / 446.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1572, allocations: 2.188 kB / 446.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.1572, allocations: 18.64 kB / 446.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1572, allocations: 0 / 446.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.1572, allocations: 2.969 kB / 446.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1572, allocations: 0 / 446.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1572, allocations: 0 / 446.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.621e-05/0.1573, allocations: 118.8 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-06/0.1573, allocations: 6.391 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.1573, allocations: 6.875 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-06/0.1573, allocations: 0 / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.1573, allocations: 10.23 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1573, allocations: 9.625 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.827e-06/0.1574, allocations: 79.22 kB / 446.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1574, allocations: 0 / 446.6 MB, free: 42.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001265/0.1575, allocations: 17.84 kB / 446.6 MB, free: 42.98 MB / 410.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 9.217e-05/0.1576, allocations: 111 kB / 446.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.541e-05/0.1577, allocations: 54.53 kB / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1577, allocations: 2.625 kB / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.023e-05/0.1577, allocations: 21.91 kB / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.972e-05/0.1578, allocations: 19.28 kB / 446.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.158, allocations: 160.5 kB / 447 MB, free: 42.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.576e-05/0.158, allocations: 70 kB / 447.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.158, allocations: 13.66 kB / 447.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.158, allocations: 0 / 447.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Templates: time 0.001426/0.1595, allocations: 0.8397 MB / 447.9 MB, free: 42.6 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.2594238454476]