Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001398/0.001398, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.004291/0.004291, allocations: 168.8 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2613/0.2613, allocations: 32.81 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 323.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.543e-05/3.701e-05, allocations: 9.297 kB / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.005248/0.005285, allocations: 0.529 MB / 323.7 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004478/0.005733, allocations: 156 kB / 323.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.005765, allocations: 0 / 323.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.005782, allocations: 0 / 323.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.00608, allocations: 31.78 kB / 323.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.466e-06/0.006083, allocations: 0 / 323.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.897e-05/0.006152, allocations: 27.86 kB / 323.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.006199, allocations: 3.984 kB / 324 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.346e-05/0.006242, allocations: 15.92 kB / 324 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.006309, allocations: 11.98 kB / 324 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.006324, allocations: 4 kB / 324 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.006453, allocations: 47.89 kB / 324 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.006467, allocations: 3.938 kB / 324 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.44e-05/0.006481, allocations: 7.984 kB / 324 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00322/0.009702, allocations: 47.81 kB / 324.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.009708, allocations: 0 / 324.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.009709, allocations: 0 / 324.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.009714, allocations: 0 / 324.1 MB, free: 8.844 MB / 298.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.0002988/0.01001, allocations: 242.1 kB / 324.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.01006, allocations: 8.031 kB / 324.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.0101, allocations: 16.88 kB / 324.3 MB, free: 8.559 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.752e-05/0.01019, allocations: 109.8 kB / 324.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.01021, allocations: 384 / 324.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.01022, allocations: 4.375 kB / 324.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.835e-05/0.01032, allocations: 50.23 kB / 324.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.01033, allocations: 4.172 kB / 324.5 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.01034, allocations: 4.375 kB / 324.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.01035, allocations: 384 / 324.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.066e-05/0.01042, allocations: 39.83 kB / 324.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.01057, allocations: 69.67 kB / 324.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.01067, allocations: 62.48 kB / 324.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.01071, allocations: 25.14 kB / 324.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/0.01092, allocations: 27.91 kB / 324.7 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.01095, allocations: 30.56 kB / 324.8 MB, free: 8.074 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.01096, allocations: 0 / 324.8 MB, free: 8.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001816/0.01114, allocations: 77.61 kB / 324.8 MB, free: 7.992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.01119, allocations: 51.41 kB / 324.9 MB, free: 7.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.01127, allocations: 106.7 kB / 325 MB, free: 7.812 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.01129, allocations: 29.7 kB / 325 MB, free: 7.777 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.01132, allocations: 80.14 kB / 325.1 MB, free: 7.695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.163e-05/0.01137, allocations: 39.62 kB / 325.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.01142, allocations: 21.7 kB / 325.2 MB, free: 7.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.01152, allocations: 318.8 kB / 325.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.01154, allocations: 11.98 kB / 325.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.01156, allocations: 8.375 kB / 325.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.215e-05/0.01163, allocations: 40.89 kB / 325.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01163, allocations: 0 / 325.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000103/0.01173, allocations: 61.67 kB / 325.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.01175, allocations: 8.125 kB / 325.6 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.01176, allocations: 0 / 325.6 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.01178, allocations: 0 / 325.6 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.01189, allocations: 23.92 kB / 325.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.01189, allocations: 3.984 kB / 325.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.01191, allocations: 4 kB / 325.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.01192, allocations: 0 / 325.6 MB, free: 7.141 MB / 298.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 7.066e-05/0.01199, allocations: 117.8 kB / 325.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.012, allocations: 4 kB / 325.8 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.01214, allocations: 77.56 kB / 325.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.01215, allocations: 8 kB / 325.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01215, allocations: 0 / 325.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01215, allocations: 0 / 325.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.593e-05/0.01225, allocations: 85.78 kB / 325.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01225, allocations: 0 / 325.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003117/0.01537, allocations: 15.98 kB / 325.9 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.01537, allocations: 0 / 325.9 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.01539, allocations: 4 kB / 325.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01539, allocations: 3.938 kB / 325.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01539, allocations: 0 / 325.9 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.01555, allocations: 92.98 kB / 326 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.01556, allocations: 7.938 kB / 326 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.01557, allocations: 8 kB / 326.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.594e-05/0.0156, allocations: 0 / 326.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.01562, allocations: 3.984 kB / 326.1 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.01563, allocations: 8 kB / 326.1 MB, free: 6.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.563e-05/0.01564, allocations: 4.859 kB / 326.1 MB, free: 6.652 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01564, allocations: 0 / 326.1 MB, free: 6.652 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.01583, allocations: 12 kB / 326.1 MB, free: 6.641 MB / 298.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.0001531/0.01599, allocations: 100.4 kB / 326.2 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.01609, allocations: 44.78 kB / 326.2 MB, free: 6.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.01609, allocations: 0 / 326.2 MB, free: 6.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.552e-05/0.01612, allocations: 24.84 kB / 326.2 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.678e-05/0.01619, allocations: 7.938 kB / 326.3 MB, free: 6.453 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.01651, allocations: 133.8 kB / 326.4 MB, free: 6.297 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.691e-05/0.01655, allocations: 59.34 kB / 326.4 MB, free: 6.219 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.664e-05/0.01658, allocations: 4 kB / 326.4 MB, free: 6.215 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.01663, allocations: 59.38 kB / 326.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01663, allocations: 0 / 326.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of Templates: time 0.005816/0.02244, allocations: 0.7231 MB / 327.2 MB, free: 5.441 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.91737694805488]