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.001036/0.001036, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001033/0.001033, allocations: 164.5 kB / 24.99 MB, free: 8.746 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.8959/0.8959, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2765/0.2765, allocations: 32.81 MB / 294.6 MB, free: 1.285 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.193e-06/1.193e-06, allocations: 0 / 376 MB, free: 5.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011e-05/1.13e-05, allocations: 2.312 kB / 376 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0009086/0.0009199, allocations: 0.5125 MB / 376.5 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.002213, allocations: 1.393 MB / 377.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.002234, allocations: 0 / 377.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.002248, allocations: 0 / 377.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.145e-05/0.002269, allocations: 4 kB / 377.9 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.002718, allocations: 215.9 kB / 378.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.092e-05/0.002759, allocations: 7.938 kB / 378.1 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.688e-05/0.002786, allocations: 4 kB / 378.1 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.391e-05/0.00281, allocations: 11.98 kB / 378.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.474e-05/0.002844, allocations: 0 / 378.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.002856, allocations: 0 / 378.1 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.003143, allocations: 259.6 kB / 378.4 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.003153, allocations: 0 / 378.4 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.399e-05/0.003167, allocations: 4 kB / 378.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.003352, allocations: 199.5 kB / 378.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.003354, allocations: 0 / 378.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003354, allocations: 0 / 378.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.003357, allocations: 0 / 378.6 MB, free: 2.406 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.0002629/0.00362, allocations: 368.1 kB / 378.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.00365, allocations: 8.031 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.00368, allocations: 9.234 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.005e-05/0.00375, allocations: 104.6 kB / 379 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.003759, allocations: 384 / 379 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.003767, allocations: 4.359 kB / 379.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.656e-05/0.003843, allocations: 67.91 kB / 379.1 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.003849, allocations: 192 / 379.1 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.003855, allocations: 384 / 379.1 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.003862, allocations: 3.938 kB / 379.1 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.097e-05/0.003873, allocations: 7.984 kB / 379.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.545e-05/0.003959, allocations: 112.7 kB / 379.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.824e-05/0.003987, allocations: 23.06 kB / 379.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.004, allocations: 7.688 kB / 379.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-06/0.004005, allocations: 4.062 kB / 379.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.004026, allocations: 41.33 kB / 379.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 4.71e-07/0.004027, allocations: 0 / 379.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 9.536e-05/0.004122, allocations: 37.7 kB / 379.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.004147, allocations: 55.34 kB / 379.4 MB, free: 1.418 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.004209, allocations: 153.9 kB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.004219, allocations: 29.7 kB / 379.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.004249, allocations: 130.9 kB / 379.7 MB, free: 1.082 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.004265, allocations: 0 / 379.7 MB, free: 1.082 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.004287, allocations: 19.38 kB / 379.7 MB, free: 1.055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.00439, allocations: 492.1 kB / 380.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-06/0.004398, allocations: 0 / 380.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.004404, allocations: 8.188 kB / 380.2 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.359e-05/0.004427, allocations: 19.67 kB / 380.2 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.004428, allocations: 0 / 380.2 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.165e-05/0.00446, allocations: 33.7 kB / 380.3 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.004469, allocations: 4 kB / 380.3 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.004472, allocations: 0 / 380.3 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.004482, allocations: 0 / 380.3 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.22e-05/0.004524, allocations: 4 kB / 380.3 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.004529, allocations: 3.938 kB / 380.3 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.036e-05/0.004539, allocations: 7.984 kB / 380.3 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.004544, allocations: 4 kB / 380.3 MB, free: 480 kB / 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 5.443e-05/0.004599, allocations: 160.6 kB / 380.5 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-06/0.004604, allocations: 3.938 kB / 380.5 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.73e-05/0.004681, allocations: 40.86 kB / 380.5 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.004683, allocations: 0 / 380.5 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.004688, allocations: 7.938 kB / 380.5 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.004691, allocations: 8.016 kB / 380.5 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.813e-05/0.004739, allocations: 108.6 kB / 380.6 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.004743, allocations: 0 / 380.6 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.004743, allocations: 0 / 380.6 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.004744, allocations: 0 / 380.6 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.00475, allocations: 4 kB / 380.6 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.00475, allocations: 0 / 380.6 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.004751, allocations: 0 / 380.6 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.716e-05/0.004808, allocations: 80.31 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-06/0.004812, allocations: 0 / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-06/0.00482, allocations: 0 / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.847e-05/0.004868, allocations: 8.031 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.004879, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.004884, allocations: 3.938 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.042e-05/0.004914, allocations: 127.2 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004914, allocations: 0 / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000189/0.005103, allocations: 39.94 kB / 380.9 MB, free: 15.82 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.0002022/0.005306, allocations: 143.2 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.679e-05/0.005372, allocations: 11.69 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.005374, allocations: 4.156 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.005403, allocations: 45.33 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.426e-05/0.005497, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001608/0.005658, allocations: 98.41 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.522e-05/0.005683, allocations: 55.3 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.198e-05/0.005695, allocations: 0 / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.175e-05/0.005707, allocations: 12.5 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.005707, allocations: 0 / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Templates: time 0.002264/0.007972, allocations: 1.125 MB / 382.4 MB, free: 14.26 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] 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","",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.7755880090408027]