Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001449/0.001449, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001673/0.001673, allocations: 210.1 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2228/0.2228, allocations: 44.26 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004046/0.004046, allocations: 75.89 kB / 468.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1263, allocations: 61.04 MB / 0.5167 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001683/0.128, allocations: 0.5789 MB / 0.5173 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003773/0.1284, allocations: 99.59 kB / 0.5174 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.1284, allocations: 0 / 0.5174 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.1284, allocations: 3.938 kB / 0.5174 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.1287, allocations: 47.81 kB / 0.5174 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.907e-06/0.1287, allocations: 0 / 0.5174 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.728e-05/0.1287, allocations: 23.86 kB / 0.5174 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.1288, allocations: 4 kB / 0.5174 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.163e-05/0.1288, allocations: 11.88 kB / 0.5175 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.755e-05/0.1288, allocations: 11.92 kB / 0.5175 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1289, allocations: 4 kB / 0.5175 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.129, allocations: 51.94 kB / 0.5175 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.129, allocations: 7.922 kB / 0.5175 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.129, allocations: 7.938 kB / 0.5175 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.1291, allocations: 47.81 kB / 0.5176 GB, free: 5.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1291, allocations: 0 / 0.5176 GB, free: 5.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1291, allocations: 0 / 0.5176 GB, free: 5.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1291, allocations: 4 kB / 0.5176 GB, free: 5.719 MB / 398.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.000324/0.1294, allocations: 262.2 kB / 0.5178 GB, free: 5.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.1295, allocations: 12.03 kB / 0.5178 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.1295, allocations: 0.9375 kB / 0.5178 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1296, allocations: 114.5 kB / 0.518 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1296, allocations: 8.312 kB / 0.518 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1296, allocations: 4.375 kB / 0.518 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.1298, allocations: 54.25 kB / 0.518 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1298, allocations: 4.125 kB / 0.518 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1298, allocations: 3.938 kB / 0.518 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1298, allocations: 0 / 0.518 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.1299, allocations: 55.95 kB / 0.5181 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.1301, allocations: 123 kB / 0.5182 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.1302, allocations: 66.56 kB / 0.5183 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.77e-05/0.1303, allocations: 28.84 kB / 0.5183 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.1306, allocations: 27.97 kB / 0.5183 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.1306, allocations: 30.56 kB / 0.5183 GB, free: 4.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.1306, allocations: 0 / 0.5183 GB, free: 4.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002459/0.1308, allocations: 110 kB / 0.5184 GB, free: 4.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.1309, allocations: 59.41 kB / 0.5185 GB, free: 4.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.131, allocations: 89.86 kB / 0.5186 GB, free: 4.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.131, allocations: 29.7 kB / 0.5186 GB, free: 4.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.131, allocations: 84.09 kB / 0.5187 GB, free: 4.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.1311, allocations: 35.67 kB / 0.5187 GB, free: 4.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.1311, allocations: 21.72 kB / 0.5188 GB, free: 4.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1313, allocations: 322.8 kB / 0.5191 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.779e-05/0.1313, allocations: 12 kB / 0.5191 GB, free: 4.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.805e-05/0.1313, allocations: 19.98 kB / 0.5191 GB, free: 4.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.456e-05/0.1314, allocations: 48.86 kB / 0.5191 GB, free: 3.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1314, allocations: 4.125 kB / 0.5191 GB, free: 3.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001317/0.1316, allocations: 81.58 kB / 0.5192 GB, free: 3.867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1316, allocations: 8 kB / 0.5192 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1316, allocations: 3.984 kB / 0.5192 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1316, allocations: 7.922 kB / 0.5192 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1317, allocations: 19.94 kB / 0.5193 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1317, allocations: 4 kB / 0.5193 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.1317, allocations: 7.922 kB / 0.5193 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1318, allocations: 0 / 0.5193 GB, free: 3.816 MB / 398.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 9.243e-05/0.1318, allocations: 113.8 kB / 0.5194 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.1319, allocations: 12.33 kB / 0.5194 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.1321, allocations: 105.4 kB / 0.5195 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.1321, allocations: 7.938 kB / 0.5195 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1321, allocations: 4 kB / 0.5195 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1321, allocations: 3.938 kB / 0.5195 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.1322, allocations: 109.3 kB / 0.5196 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1322, allocations: 0 / 0.5196 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.1323, allocations: 23.98 kB / 0.5196 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1323, allocations: 0 / 0.5196 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1323, allocations: 0 / 0.5196 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1323, allocations: 4 kB / 0.5196 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1323, allocations: 3.938 kB / 0.5196 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.1325, allocations: 113 kB / 0.5197 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.1325, allocations: 11.94 kB / 0.5198 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1325, allocations: 0 / 0.5198 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.421e-05/0.1325, allocations: 0 / 0.5198 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.1325, allocations: 11.92 kB / 0.5198 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1325, allocations: 4 kB / 0.5198 GB, free: 3.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.312e-05/0.1326, allocations: 83.22 kB / 0.5199 GB, free: 3.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1326, allocations: 0 / 0.5199 GB, free: 3.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.1328, allocations: 12.09 kB / 0.5199 GB, free: 3.137 MB / 398.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.0001514/0.1329, allocations: 115.2 kB / 0.52 GB, free: 3.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.1331, allocations: 43.92 kB / 0.52 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1331, allocations: 4 kB / 0.52 GB, free: 2.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.766e-05/0.1331, allocations: 28.36 kB / 0.52 GB, free: 2.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.1333, allocations: 0 / 0.52 GB, free: 2.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.1337, allocations: 156.8 kB / 0.5202 GB, free: 2.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.993e-05/0.1337, allocations: 63.34 kB / 0.5203 GB, free: 2.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.433e-05/0.1338, allocations: 8 kB / 0.5203 GB, free: 2.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.1338, allocations: 11.44 kB / 0.5203 GB, free: 2.66 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1338, allocations: 0 / 0.5203 GB, free: 2.66 MB / 398.1 MB Notification: Performance of Templates: time 0.003169/0.1369, allocations: 0.623 MB / 0.5209 GB, free: 2.039 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.823173511773348]