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.001786/0.001786, allocations: 77.62 kB / 19.93 MB, free: 1.781 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.003053/0.003053, allocations: 165.4 kB / 23.21 MB, free: 4.906 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.54/1.54, allocations: 158.6 MB / 185 MB, free: 6.422 MB / 174.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.21/0.21, allocations: 32.38 MB / 269.6 MB, free: 4.68 MB / 254.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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 407.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.412e-05, allocations: 2.281 kB / 407.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001501/0.001525, allocations: 0.5823 MB / 408 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000361/0.001886, allocations: 105.4 kB / 408.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.001923, allocations: 0 / 408.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.001942, allocations: 3.938 kB / 408.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.002199, allocations: 43.7 kB / 408.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.328e-06/0.002203, allocations: 0 / 408.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.151e-05/0.002265, allocations: 23.92 kB / 408.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.174e-05/0.002327, allocations: 7.984 kB / 408.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.178e-05/0.002358, allocations: 7.938 kB / 408.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.002418, allocations: 15.92 kB / 408.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.002432, allocations: 4 kB / 408.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.002562, allocations: 55.86 kB / 408.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.002575, allocations: 0 / 408.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.002591, allocations: 3.938 kB / 408.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.002718, allocations: 47.86 kB / 408.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.00272, allocations: 0 / 408.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.002721, allocations: 3.938 kB / 408.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.00273, allocations: 4 kB / 408.3 MB, free: 2.094 MB / 334.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.000333/0.003063, allocations: 266.2 kB / 408.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.003096, allocations: 12.03 kB / 408.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.003124, allocations: 0.9375 kB / 408.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.003244, allocations: 109.7 kB / 408.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.003252, allocations: 384 / 408.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.003268, allocations: 4.375 kB / 408.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.003405, allocations: 66.17 kB / 408.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.003413, allocations: 192 / 408.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.003423, allocations: 384 / 408.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.003427, allocations: 384 / 408.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.003536, allocations: 55.89 kB / 408.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.003716, allocations: 121.3 kB / 408.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.003866, allocations: 74.58 kB / 409 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.476e-05/0.003921, allocations: 28.84 kB / 409 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.004148, allocations: 19.98 kB / 409 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.004182, allocations: 30.56 kB / 409.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.004184, allocations: 0 / 409.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.000241/0.004425, allocations: 101.8 kB / 409.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.004466, allocations: 55.41 kB / 409.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.00455, allocations: 105.8 kB / 409.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.004569, allocations: 25.7 kB / 409.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.004603, allocations: 80.14 kB / 409.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.004646, allocations: 35.69 kB / 409.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.004697, allocations: 29.7 kB / 409.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.004841, allocations: 314.8 kB / 409.8 MB, free: 432 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.568e-05/0.004876, allocations: 19.92 kB / 409.8 MB, free: 412 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.004914, allocations: 24.31 kB / 409.8 MB, free: 388 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.71e-05/0.005001, allocations: 48.84 kB / 409.9 MB, free: 336 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.005003, allocations: 0 / 409.9 MB, free: 336 kB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001398/0.005142, allocations: 93.69 kB / 410 MB, free: 236 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.005154, allocations: 4 kB / 410 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.005158, allocations: 0 / 410 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.00517, allocations: 0 / 410 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.005274, allocations: 19.98 kB / 410 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.005282, allocations: 4 kB / 410 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.005312, allocations: 11.83 kB / 410 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.005318, allocations: 3.938 kB / 410 MB, free: 192 kB / 334.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 8.226e-05/0.0054, allocations: 113.8 kB / 410.1 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.005413, allocations: 4 kB / 410.1 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.005627, allocations: 105.5 kB / 410.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.005632, allocations: 4 kB / 410.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.005636, allocations: 0 / 410.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.005643, allocations: 7.922 kB / 410.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.005753, allocations: 109.3 kB / 410.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005754, allocations: 0 / 410.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.279e-05/0.005826, allocations: 19.98 kB / 410.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.005828, allocations: 384 / 410.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.005836, allocations: 0 / 410.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.005837, allocations: 0 / 410.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005837, allocations: 0 / 410.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.006004, allocations: 120.9 kB / 410.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.006015, allocations: 11.89 kB / 410.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.006028, allocations: 3.984 kB / 410.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.815e-05/0.006056, allocations: 3.984 kB / 410.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.006079, allocations: 4 kB / 410.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.00609, allocations: 11.98 kB / 410.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.475e-05/0.006135, allocations: 75.28 kB / 410.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.006135, allocations: 0 / 410.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000203/0.006338, allocations: 15.94 kB / 410.6 MB, free: 15.52 MB / 350.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.0001489/0.006487, allocations: 115.2 kB / 410.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.00663, allocations: 55.91 kB / 410.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.006632, allocations: 0 / 410.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.365e-05/0.006676, allocations: 27.92 kB / 410.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.006821, allocations: 8 kB / 410.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.007145, allocations: 132.9 kB / 411 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.639e-05/0.007211, allocations: 67.25 kB / 411 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.935e-05/0.007251, allocations: 23.77 kB / 411 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.007277, allocations: 12.5 kB / 411.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.007277, allocations: 0 / 411.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of Templates: time 0.003111/0.01039, allocations: 0.6348 MB / 411.7 MB, free: 14.41 MB / 350.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.90510368719697]