Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001545/0.001545, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001749/0.001749, allocations: 161.7 kB / 24.27 MB, free: 168 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.465/1.465, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3187/0.3187, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 375.2 MB, free: 5.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.901e-05, allocations: 6.25 kB / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001458/0.001487, allocations: 0.5001 MB / 375.7 MB, free: 4.523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.00359, allocations: 1.346 MB / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.003616, allocations: 0 / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.003629, allocations: 4 kB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.45e-05/0.003663, allocations: 4 kB / 377.1 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00072/0.004383, allocations: 219.9 kB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.717e-05/0.00443, allocations: 7.984 kB / 377.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.004468, allocations: 0 / 377.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.371e-05/0.004502, allocations: 11.98 kB / 377.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.551e-05/0.004557, allocations: 3.938 kB / 377.3 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.004576, allocations: 4 kB / 377.3 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000483/0.005059, allocations: 251.6 kB / 377.6 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.005074, allocations: 7.984 kB / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.005093, allocations: 0 / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.005404, allocations: 203.5 kB / 377.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005407, allocations: 0 / 377.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005407, allocations: 0 / 377.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.005411, allocations: 0 / 377.8 MB, free: 2.453 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004135/0.005824, allocations: 262.2 kB / 378 MB, free: 2.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.005861, allocations: 12.03 kB / 378 MB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.005901, allocations: 0.9375 kB / 378 MB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.006029, allocations: 109.8 kB / 378.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.006042, allocations: 4.375 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.00605, allocations: 384 / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.006168, allocations: 63.97 kB / 378.2 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.006175, allocations: 8.062 kB / 378.2 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.006183, allocations: 384 / 378.2 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.006189, allocations: 3.938 kB / 378.2 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/0.006213, allocations: 7.984 kB / 378.2 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.006347, allocations: 93.33 kB / 378.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.982e-05/0.006397, allocations: 22.61 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.006416, allocations: 4.859 kB / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.006425, allocations: 0 / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.006463, allocations: 34.62 kB / 378.4 MB, free: 1.723 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.006463, allocations: 4 kB / 378.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001434/0.006607, allocations: 41.62 kB / 378.4 MB, free: 1.672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.006664, allocations: 55.34 kB / 378.5 MB, free: 1.605 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.006756, allocations: 93.86 kB / 378.6 MB, free: 1.504 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.006778, allocations: 29.7 kB / 378.6 MB, free: 1.469 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.006825, allocations: 80.14 kB / 378.7 MB, free: 1.387 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.006842, allocations: 0 / 378.7 MB, free: 1.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.006876, allocations: 13.72 kB / 378.7 MB, free: 1.367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.007055, allocations: 318.8 kB / 379 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.007065, allocations: 256 / 379 MB, free: 1.047 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-06/0.007074, allocations: 8 kB / 379 MB, free: 1.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.637e-05/0.0071, allocations: 8.797 kB / 379 MB, free: 1.027 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.007102, allocations: 0 / 379 MB, free: 1.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.127e-05/0.007163, allocations: 33.7 kB / 379.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.007178, allocations: 4 kB / 379.1 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.007181, allocations: 4 kB / 379.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.007196, allocations: 0 / 379.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.00725, allocations: 3.984 kB / 379.1 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.007256, allocations: 3.938 kB / 379.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/0.007269, allocations: 4.094 kB / 379.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.007275, allocations: 4 kB / 379.1 MB, free: 0.9648 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 (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 8.89e-05/0.007364, allocations: 109.8 kB / 379.2 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.007376, allocations: 3.953 kB / 379.2 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.007492, allocations: 48.78 kB / 379.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007494, allocations: 0 / 379.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.0075, allocations: 3.938 kB / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.007501, allocations: 4.031 kB / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.007604, allocations: 105.3 kB / 379.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.007608, allocations: 0 / 379.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.007609, allocations: 0 / 379.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.00761, allocations: 0 / 379.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.007618, allocations: 3.984 kB / 379.4 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.007619, allocations: 0 / 379.4 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.007622, allocations: 4 kB / 379.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.281e-05/0.007715, allocations: 65.02 kB / 379.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.007721, allocations: 3.984 kB / 379.4 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.00773, allocations: 4.031 kB / 379.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.007803, allocations: 11.98 kB / 379.5 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.007815, allocations: 0 / 379.5 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.007823, allocations: 3.938 kB / 379.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.069e-05/0.007874, allocations: 79.28 kB / 379.5 MB, free: 472 kB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007874, allocations: 0 / 379.5 MB, free: 472 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002646/0.008139, allocations: 35.94 kB / 379.6 MB, free: 436 kB / 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 (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.0003099/0.008449, allocations: 151.1 kB / 379.7 MB, free: 276 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.623e-05/0.008515, allocations: 8.094 kB / 379.7 MB, free: 268 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008517, allocations: 0 / 379.7 MB, free: 268 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.688e-05/0.008553, allocations: 29.7 kB / 379.8 MB, free: 232 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.008696, allocations: 3.984 kB / 379.8 MB, free: 228 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.008925, allocations: 96.7 kB / 379.9 MB, free: 104 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.77e-05/0.008983, allocations: 59.3 kB / 379.9 MB, free: 24 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.541e-05/0.008998, allocations: 3.984 kB / 379.9 MB, free: 20 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.009019, allocations: 8.5 kB / 379.9 MB, free: 12 kB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.00902, allocations: 0 / 379.9 MB, free: 12 kB / 346.7 MB Notification: Performance of Templates: time 0.003782/0.0128, allocations: 1.103 MB / 381 MB, free: 14.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.569265968981199]