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.001052/0.001052, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009627/0.0009627, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 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 0.8499/0.8499, allocations: 158.6 MB / 186 MB, free: 2.523 MB / 170.7 MB " [Timeout remaining time 179] 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.1268/0.1268, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 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.223e-06/1.223e-06, allocations: 0 / 347.7 MB, free: 9.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.462e-05, allocations: 6.312 kB / 347.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0008681/0.0008827, allocations: 0.591 MB / 348.3 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000213/0.001096, allocations: 111.5 kB / 348.4 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.001121, allocations: 0 / 348.4 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.001137, allocations: 7.938 kB / 348.4 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.001351, allocations: 39.78 kB / 348.4 MB, free: 9 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.655e-06/0.001354, allocations: 0 / 348.4 MB, free: 9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.001406, allocations: 19.92 kB / 348.5 MB, free: 8.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.001447, allocations: 7.984 kB / 348.5 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.807e-05/0.001476, allocations: 7.938 kB / 348.5 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.569e-05/0.001531, allocations: 19.91 kB / 348.5 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.001541, allocations: 0 / 348.5 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.513e-05/0.001617, allocations: 47.89 kB / 348.5 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.001627, allocations: 3.984 kB / 348.6 MB, free: 8.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.303e-05/0.00164, allocations: 11.94 kB / 348.6 MB, free: 8.883 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.857e-05/0.001728, allocations: 47.86 kB / 348.6 MB, free: 8.836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.00173, allocations: 0 / 348.6 MB, free: 8.836 MB / 282.7 MB Notification: Performance of FrontEnd: time 4e-07/0.00173, allocations: 0 / 348.6 MB, free: 8.836 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.001734, allocations: 0 / 348.6 MB, free: 8.836 MB / 282.7 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.0002097/0.001944, allocations: 364.6 kB / 349 MB, free: 8.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.001976, allocations: 11.97 kB / 349 MB, free: 8.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.002016, allocations: 8.891 kB / 349 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.551e-05/0.002082, allocations: 108.6 kB / 349.1 MB, free: 8.289 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.002093, allocations: 4.312 kB / 349.1 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-06/0.002103, allocations: 8.375 kB / 349.1 MB, free: 8.277 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.728e-05/0.00219, allocations: 54.23 kB / 349.2 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.002197, allocations: 4.188 kB / 349.2 MB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.002205, allocations: 384 / 349.2 MB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.002212, allocations: 384 / 349.2 MB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.409e-05/0.002276, allocations: 47.89 kB / 349.2 MB, free: 8.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.974e-05/0.002376, allocations: 128.5 kB / 349.3 MB, free: 8.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.002476, allocations: 75.03 kB / 349.4 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.002508, allocations: 27.67 kB / 349.4 MB, free: 7.891 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.002676, allocations: 27.98 kB / 349.5 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.0027, allocations: 41.38 kB / 349.5 MB, free: 7.812 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.002701, allocations: 0 / 349.5 MB, free: 7.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001676/0.002868, allocations: 93.86 kB / 349.6 MB, free: 7.715 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.002888, allocations: 51.41 kB / 349.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.812e-05/0.002926, allocations: 161.9 kB / 349.8 MB, free: 7.477 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.002932, allocations: 29.7 kB / 349.8 MB, free: 7.441 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.055e-05/0.002943, allocations: 130.8 kB / 350 MB, free: 7.309 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.002969, allocations: 35.69 kB / 350 MB, free: 7.273 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.002993, allocations: 31.36 kB / 350 MB, free: 7.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.729e-05/0.00303, allocations: 0.4885 MB / 350.5 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.003049, allocations: 15.98 kB / 350.5 MB, free: 6.719 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.003066, allocations: 12.38 kB / 350.5 MB, free: 6.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.003114, allocations: 47.8 kB / 350.6 MB, free: 6.656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003115, allocations: 0 / 350.6 MB, free: 6.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.627e-05/0.003182, allocations: 81.62 kB / 350.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.003192, allocations: 8 kB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.003196, allocations: 0 / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.003207, allocations: 0 / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.003278, allocations: 19.92 kB / 350.7 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.003282, allocations: 0 / 350.7 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.392e-05/0.003296, allocations: 15.89 kB / 350.7 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.003301, allocations: 7.938 kB / 350.7 MB, free: 6.52 MB / 282.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 (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 3.52e-05/0.003336, allocations: 156.6 kB / 350.9 MB, free: 6.355 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-06/0.003343, allocations: 8 kB / 350.9 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.003456, allocations: 93.56 kB / 351 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.003457, allocations: 0 / 351 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.003461, allocations: 4 kB / 351 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.003466, allocations: 11.92 kB / 351 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.003e-05/0.003516, allocations: 124.5 kB / 351.1 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.003517, allocations: 4 kB / 351.1 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.00355, allocations: 19.98 kB / 351.1 MB, free: 6.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.003551, allocations: 0 / 351.1 MB, free: 6.059 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.003558, allocations: 4 kB / 351.1 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.003559, allocations: 0 / 351.1 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.003559, allocations: 0 / 351.1 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.3e-05/0.003632, allocations: 116.3 kB / 351.2 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-06/0.003638, allocations: 11.94 kB / 351.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-06/0.003647, allocations: 0 / 351.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-06/0.003656, allocations: 4 kB / 351.3 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.003678, allocations: 7.984 kB / 351.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.003681, allocations: 4 kB / 351.3 MB, free: 5.891 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.508e-05/0.003696, allocations: 127.1 kB / 351.4 MB, free: 5.766 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003696, allocations: 0 / 351.4 MB, free: 5.766 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001308/0.003827, allocations: 19.94 kB / 351.4 MB, free: 5.746 MB / 282.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 (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 8.783e-05/0.003915, allocations: 107.2 kB / 351.5 MB, free: 5.633 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.956e-05/0.004004, allocations: 59.59 kB / 351.6 MB, free: 5.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.004006, allocations: 0 / 351.6 MB, free: 5.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.182e-05/0.004028, allocations: 27.67 kB / 351.6 MB, free: 5.539 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.815e-05/0.004126, allocations: 12.03 kB / 351.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002169/0.004343, allocations: 142.9 kB / 351.8 MB, free: 5.359 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.695e-05/0.00436, allocations: 55.36 kB / 351.8 MB, free: 5.285 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.639e-05/0.004386, allocations: 7.984 kB / 351.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.004405, allocations: 12.5 kB / 351.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.004405, allocations: 0 / 351.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of Templates: time 0.001778/0.006184, allocations: 0.6553 MB / 352.5 MB, free: 4.613 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] 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","",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.749975841026753]