Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001842/0.001842, allocations: 111.5 kB / 18.45 MB, free: 4.605 MB / 14.72 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.002347/0.002347, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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.472/1.472, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2663/0.2663, allocations: 46.91 MB / 357.8 MB, free: 10.32 MB / 286.1 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.91 kB / 0.4921 GB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1243, allocations: 65.99 MB / 0.5565 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001846/0.1262, allocations: 0.4951 MB / 0.557 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1284, allocations: 1.403 MB / 0.5583 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.1284, allocations: 0 / 0.5583 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.1284, allocations: 0 / 0.5583 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.489e-05/0.1285, allocations: 7.938 kB / 0.5584 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007371/0.1292, allocations: 219.2 kB / 0.5586 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.45e-05/0.1292, allocations: 12 kB / 0.5586 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.1293, allocations: 4 kB / 0.5586 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.673e-05/0.1293, allocations: 3.984 kB / 0.5586 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.1294, allocations: 7.984 kB / 0.5586 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1294, allocations: 0 / 0.5586 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004727/0.1299, allocations: 275.6 kB / 0.5589 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.1299, allocations: 7.938 kB / 0.5589 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.1299, allocations: 7.984 kB / 0.5589 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.1301, allocations: 135.7 kB / 0.559 GB, free: 2.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1301, allocations: 0 / 0.559 GB, free: 2.797 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1301, allocations: 4 kB / 0.559 GB, free: 2.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1301, allocations: 4 kB / 0.559 GB, free: 2.789 MB / 414.1 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.000445/0.1306, allocations: 331.3 kB / 0.5593 GB, free: 2.418 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1306, allocations: 12.03 kB / 0.5593 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.1306, allocations: 4.922 kB / 0.5593 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.1308, allocations: 160.4 kB / 0.5595 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1308, allocations: 8.312 kB / 0.5595 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1308, allocations: 8.25 kB / 0.5595 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.653e-05/0.1309, allocations: 38.02 kB / 0.5595 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1309, allocations: 0 / 0.5595 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1309, allocations: 0 / 0.5595 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1309, allocations: 7.984 kB / 0.5595 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.181e-05/0.131, allocations: 3.984 kB / 0.5596 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.1311, allocations: 153.7 kB / 0.5597 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.265e-05/0.1312, allocations: 14.58 kB / 0.5597 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.1312, allocations: 8.859 kB / 0.5597 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-06/0.1312, allocations: 8 kB / 0.5597 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1312, allocations: 38.48 kB / 0.5598 GB, free: 1.848 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1312, allocations: 0 / 0.5598 GB, free: 1.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000146/0.1314, allocations: 33.7 kB / 0.5598 GB, free: 1.809 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.1314, allocations: 55.41 kB / 0.5599 GB, free: 1.742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.936e-05/0.1315, allocations: 89.86 kB / 0.5599 GB, free: 1.645 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1315, allocations: 29.7 kB / 0.56 GB, free: 1.609 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.1316, allocations: 84.39 kB / 0.56 GB, free: 1.523 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1316, allocations: 11.88 kB / 0.5601 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.1316, allocations: 9.719 kB / 0.5601 GB, free: 1.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1318, allocations: 318.8 kB / 0.5604 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.1318, allocations: 3.938 kB / 0.5604 GB, free: 1.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/0.1318, allocations: 0 / 0.5604 GB, free: 1.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.609e-05/0.1318, allocations: 8.859 kB / 0.5604 GB, free: 1.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1318, allocations: 64 / 0.5604 GB, free: 1.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.3e-05/0.1319, allocations: 41.69 kB / 0.5604 GB, free: 1.113 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1319, allocations: 9.969 kB / 0.5604 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1319, allocations: 0 / 0.5604 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1319, allocations: 0 / 0.5604 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.132, allocations: 4 kB / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.132, allocations: 0 / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.132, allocations: 0 / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.132, allocations: 0 / 0.5604 GB, free: 1.102 MB / 414.1 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 9.2e-05/0.1321, allocations: 124 kB / 0.5606 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.1321, allocations: 3.938 kB / 0.5606 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.1322, allocations: 40.81 kB / 0.5606 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1322, allocations: 3.938 kB / 0.5606 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1322, allocations: 0 / 0.5606 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1322, allocations: 0 / 0.5606 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.1323, allocations: 153.7 kB / 0.5607 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1323, allocations: 4.031 kB / 0.5608 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1324, allocations: 0 / 0.5608 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.1324, allocations: 3.938 kB / 0.5608 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1324, allocations: 7.938 kB / 0.5608 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1324, allocations: 0 / 0.5608 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1324, allocations: 0 / 0.5608 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.554e-05/0.1324, allocations: 65.06 kB / 0.5608 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.1325, allocations: 81.05 kB / 0.5609 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1325, allocations: 8.031 kB / 0.5609 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.1326, allocations: 4 kB / 0.5609 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.1326, allocations: 0 / 0.5609 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1326, allocations: 0 / 0.5609 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.497e-05/0.1326, allocations: 83.27 kB / 0.561 GB, free: 444 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1326, allocations: 0 / 0.561 GB, free: 444 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1329, allocations: 35.94 kB / 0.561 GB, free: 408 kB / 414.1 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.0002972/0.1332, allocations: 143.1 kB / 0.5612 GB, free: 252 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.282e-05/0.1333, allocations: 8.094 kB / 0.5612 GB, free: 244 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1333, allocations: 0 / 0.5612 GB, free: 244 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.199e-05/0.1333, allocations: 33.64 kB / 0.5612 GB, free: 204 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.1335, allocations: 0 / 0.5612 GB, free: 204 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.1338, allocations: 110.8 kB / 0.5613 GB, free: 60 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1341, allocations: 0.669 MB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.1341, allocations: 11.44 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1341, allocations: 128 / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of Templates: time 0.002749/0.1369, allocations: 0.9091 MB / 0.5629 GB, free: 14.44 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 7.280955537018599]