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.000786/0.000786, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007474/0.0007474, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 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.7366/0.7366, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1181/0.1181, allocations: 32.37 MB / 270.4 MB, free: 14.96 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.333e-06/1.333e-06, allocations: 0 / 408.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.009e-05, allocations: 5.516 kB / 408.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0009723/0.0009924, allocations: 0.5922 MB / 408.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002307/0.001223, allocations: 103.6 kB / 408.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.001248, allocations: 0 / 408.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.001264, allocations: 0 / 408.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.001482, allocations: 39.7 kB / 408.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.007e-06/0.001486, allocations: 0 / 408.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.78e-05/0.001534, allocations: 23.92 kB / 408.9 MB, free: 12.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.001572, allocations: 4 kB / 408.9 MB, free: 12.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.782e-05/0.0016, allocations: 15.92 kB / 408.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.885e-05/0.001649, allocations: 15.91 kB / 408.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.00166, allocations: 4 kB / 408.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.848e-05/0.001738, allocations: 47.89 kB / 409 MB, free: 12.15 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.001749, allocations: 3.984 kB / 409 MB, free: 12.14 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.215e-05/0.001761, allocations: 7.938 kB / 409 MB, free: 12.14 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.007e-05/0.001851, allocations: 39.88 kB / 409 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.001853, allocations: 7.938 kB / 409 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.001854, allocations: 3.938 kB / 409 MB, free: 12.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.001858, allocations: 0 / 409 MB, free: 12.09 MB / 346.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.0002436/0.002102, allocations: 274.2 kB / 409.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.002133, allocations: 8.031 kB / 409.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.00216, allocations: 0.9375 kB / 409.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.103e-05/0.002231, allocations: 105.8 kB / 409.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.002241, allocations: 4.375 kB / 409.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.002251, allocations: 8.312 kB / 409.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.002355, allocations: 62.17 kB / 409.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.002363, allocations: 192 / 409.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.002371, allocations: 384 / 409.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.002375, allocations: 384 / 409.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.848e-05/0.002454, allocations: 59.89 kB / 409.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.002567, allocations: 117.3 kB / 409.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.002677, allocations: 70.83 kB / 409.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.002713, allocations: 32.78 kB / 409.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.00289, allocations: 19.98 kB / 409.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.002911, allocations: 34.56 kB / 409.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.002912, allocations: 0 / 409.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001783/0.003091, allocations: 101.6 kB / 409.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.00312, allocations: 55.41 kB / 410 MB, free: 11.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.657e-05/0.003167, allocations: 97.8 kB / 410.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.003175, allocations: 25.7 kB / 410.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.051e-05/0.003196, allocations: 88.14 kB / 410.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.003233, allocations: 39.67 kB / 410.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.003263, allocations: 17.72 kB / 410.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.003335, allocations: 318.8 kB / 410.5 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.352e-05/0.003358, allocations: 16 kB / 410.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/0.003379, allocations: 20.36 kB / 410.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.72e-05/0.003437, allocations: 52.92 kB / 410.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.003438, allocations: 128 / 410.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.22e-05/0.003521, allocations: 101.5 kB / 410.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.003532, allocations: 6.656 kB / 410.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.003536, allocations: 0 / 410.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.003547, allocations: 0 / 410.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/0.003619, allocations: 15.98 kB / 410.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.003624, allocations: 4 kB / 410.8 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.6e-05/0.00364, allocations: 15.83 kB / 410.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.003648, allocations: 7.984 kB / 410.8 MB, free: 10.17 MB / 346.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 5.36e-05/0.003701, allocations: 109.8 kB / 410.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-06/0.003707, allocations: 4 kB / 410.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.003832, allocations: 101.5 kB / 411 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.003836, allocations: 4 kB / 411 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.003839, allocations: 0 / 411 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.003843, allocations: 3.938 kB / 411 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.627e-05/0.003909, allocations: 113.3 kB / 411.1 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.00391, allocations: 0 / 411.1 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.003942, allocations: 19.94 kB / 411.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.003944, allocations: 0 / 411.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.003951, allocations: 4 kB / 411.1 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.003952, allocations: 0 / 411.1 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.003954, allocations: 7.984 kB / 411.1 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.826e-05/0.004042, allocations: 113.1 kB / 411.3 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-06/0.004049, allocations: 11.89 kB / 411.3 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.004058, allocations: 0 / 411.3 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-06/0.004067, allocations: 4 kB / 411.3 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.004082, allocations: 7.984 kB / 411.3 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.004086, allocations: 4 kB / 411.3 MB, free: 9.605 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.239e-05/0.004108, allocations: 75.28 kB / 411.4 MB, free: 9.531 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004108, allocations: 0 / 411.4 MB, free: 9.531 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.004248, allocations: 23.92 kB / 411.4 MB, free: 9.508 MB / 346.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 0.0001121/0.00436, allocations: 111.3 kB / 411.5 MB, free: 9.387 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.004462, allocations: 55.91 kB / 411.5 MB, free: 9.332 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.004463, allocations: 0 / 411.5 MB, free: 9.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.455e-05/0.004488, allocations: 27.88 kB / 411.6 MB, free: 9.305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/0.004589, allocations: 8 kB / 411.6 MB, free: 9.297 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.004844, allocations: 158.6 kB / 411.7 MB, free: 9.109 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.028e-05/0.004884, allocations: 71.25 kB / 411.8 MB, free: 9.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.004905, allocations: 12.5 kB / 411.8 MB, free: 9.008 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.004905, allocations: 4 kB / 411.8 MB, free: 9.004 MB / 346.7 MB Notification: Performance of Templates: time 0.001569/0.006474, allocations: 0.8439 MB / 412.7 MB, free: 8.16 MB / 346.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=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: 3.825855595059693]