Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001591/0.001591, allocations: 113.7 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00174/0.00174, allocations: 205 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.3 MB / 255.2 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.24/0.24, allocations: 46.92 MB / 358.2 MB, free: 10.44 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 83.84 kB / 0.4925 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1423, allocations: 66 MB / 0.557 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.00201/0.1443, allocations: 0.5255 MB / 0.5575 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004814/0.1448, allocations: 168 kB / 0.5576 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.1448, allocations: 0 / 0.5576 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.1448, allocations: 3.938 kB / 0.5576 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.1451, allocations: 39.83 kB / 0.5577 GB, free: 4.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.107e-06/0.1451, allocations: 0 / 0.5577 GB, free: 4.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.783e-05/0.1452, allocations: 23.92 kB / 0.5577 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.877e-05/0.1452, allocations: 0 / 0.5577 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.5e-05/0.1453, allocations: 11.92 kB / 0.5577 GB, free: 4.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.1453, allocations: 19.86 kB / 0.5577 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.1453, allocations: 0 / 0.5577 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.1455, allocations: 51.94 kB / 0.5578 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.1455, allocations: 4 kB / 0.5578 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.1455, allocations: 15.86 kB / 0.5578 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.1457, allocations: 39.83 kB / 0.5578 GB, free: 4.691 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1457, allocations: 7.984 kB / 0.5578 GB, free: 4.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1457, allocations: 0 / 0.5578 GB, free: 4.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1457, allocations: 0 / 0.5578 GB, free: 4.684 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004124/0.1461, allocations: 343.3 kB / 0.5582 GB, free: 4.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1461, allocations: 8.031 kB / 0.5582 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.1462, allocations: 4.938 kB / 0.5582 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.1463, allocations: 164.3 kB / 0.5583 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1463, allocations: 384 / 0.5583 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.1464, allocations: 4.375 kB / 0.5583 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1465, allocations: 66.23 kB / 0.5584 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1465, allocations: 192 / 0.5584 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1465, allocations: 3.938 kB / 0.5584 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1465, allocations: 0 / 0.5584 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.1467, allocations: 59.89 kB / 0.5585 GB, free: 3.949 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.1469, allocations: 165.6 kB / 0.5586 GB, free: 3.738 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.147, allocations: 70.55 kB / 0.5587 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.993e-05/0.1471, allocations: 32.84 kB / 0.5587 GB, free: 3.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004202/0.1475, allocations: 255.3 kB / 0.559 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1476, allocations: 34.78 kB / 0.559 GB, free: 3.277 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1476, allocations: 3.938 kB / 0.559 GB, free: 3.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002761/0.1478, allocations: 105.6 kB / 0.5591 GB, free: 3.164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.1479, allocations: 59.39 kB / 0.5592 GB, free: 3.094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.148, allocations: 93.86 kB / 0.5592 GB, free: 2.992 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.148, allocations: 25.7 kB / 0.5593 GB, free: 2.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.148, allocations: 80.14 kB / 0.5593 GB, free: 2.879 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.1481, allocations: 43.62 kB / 0.5594 GB, free: 2.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.1481, allocations: 21.72 kB / 0.5594 GB, free: 2.809 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1483, allocations: 314.8 kB / 0.5597 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-05/0.1483, allocations: 27.98 kB / 0.5597 GB, free: 2.465 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.1483, allocations: 19.98 kB / 0.5598 GB, free: 2.445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.387e-05/0.1484, allocations: 52.92 kB / 0.5598 GB, free: 2.391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1484, allocations: 0 / 0.5598 GB, free: 2.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001399/0.1486, allocations: 82.2 kB / 0.5599 GB, free: 2.305 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1486, allocations: 8 kB / 0.5599 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1486, allocations: 3.938 kB / 0.5599 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1486, allocations: 0 / 0.5599 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1487, allocations: 19.92 kB / 0.5599 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1487, allocations: 96 / 0.5599 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.1488, allocations: 11.94 kB / 0.5599 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1488, allocations: 0 / 0.5599 GB, free: 2.262 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 (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.0001059/0.1489, allocations: 117.8 kB / 0.56 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.1489, allocations: 3.953 kB / 0.56 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.1491, allocations: 105.5 kB / 0.5601 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1491, allocations: 3.984 kB / 0.5601 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1491, allocations: 0 / 0.5601 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1491, allocations: 0 / 0.5601 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.1493, allocations: 169.7 kB / 0.5603 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1493, allocations: 0 / 0.5603 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.1493, allocations: 23.92 kB / 0.5603 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1494, allocations: 8 kB / 0.5603 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1494, allocations: 3.938 kB / 0.5603 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1494, allocations: 0 / 0.5603 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.1494, allocations: 3.984 kB / 0.5603 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.1495, allocations: 113 kB / 0.5605 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.1496, allocations: 81.05 kB / 0.5605 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.1496, allocations: 11.94 kB / 0.5605 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.567e-05/0.1496, allocations: 4 kB / 0.5605 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.1497, allocations: 11.98 kB / 0.5606 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1497, allocations: 0 / 0.5606 GB, free: 1.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.125e-05/0.1497, allocations: 79.28 kB / 0.5606 GB, free: 1.434 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1497, allocations: 0 / 0.5606 GB, free: 1.434 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.1499, allocations: 12 kB / 0.5606 GB, free: 1.422 MB / 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 (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.0001855/0.1501, allocations: 111.1 kB / 0.5607 GB, free: 1.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.1502, allocations: 56.03 kB / 0.5608 GB, free: 1.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1502, allocations: 96 / 0.5608 GB, free: 1.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.092e-05/0.1503, allocations: 39.92 kB / 0.5608 GB, free: 1.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.1505, allocations: 0 / 0.5608 GB, free: 1.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.1509, allocations: 162.7 kB / 0.561 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1512, allocations: 0.6807 MB / 0.5617 GB, free: 320 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.1512, allocations: 15.44 kB / 0.5617 GB, free: 304 kB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1512, allocations: 0 / 0.5617 GB, free: 304 kB / 414.1 MB Notification: Performance of Templates: time 0.002747/0.154, allocations: 0.8137 MB / 0.5625 GB, free: 15.48 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.140402374992846]