Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009967/0.0009967, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001478/0.001478, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 0.8895/0.8895, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 34.26 MB / 295.7 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.695e-05, allocations: 2.312 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001423/0.00144, allocations: 0.5361 MB / 378.6 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.001809, allocations: 147.5 kB / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.001837, allocations: 4 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.001859, allocations: 3.938 kB / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.002121, allocations: 43.69 kB / 378.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.002125, allocations: 0 / 378.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.352e-05/0.002188, allocations: 23.92 kB / 378.8 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.002227, allocations: 4 kB / 378.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.002259, allocations: 11.94 kB / 378.8 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.705e-05/0.002317, allocations: 15.91 kB / 378.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.002329, allocations: 0 / 378.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.002442, allocations: 51.88 kB / 378.9 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.002453, allocations: 0 / 378.9 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.002471, allocations: 11.94 kB / 378.9 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.002582, allocations: 43.86 kB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.002585, allocations: 4 kB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.002585, allocations: 0 / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.002589, allocations: 4 kB / 378.9 MB, free: 1.773 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.0003108/0.0029, allocations: 368.5 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.002936, allocations: 8.031 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.002978, allocations: 4.938 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.205e-05/0.00307, allocations: 116.6 kB / 379.4 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.003083, allocations: 4.375 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.003094, allocations: 384 / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.00321, allocations: 58.23 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.003219, allocations: 192 / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.003228, allocations: 384 / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.003236, allocations: 4.375 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.921e-05/0.003335, allocations: 51.81 kB / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.003486, allocations: 132.6 kB / 379.6 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.003626, allocations: 71.05 kB / 379.7 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.003674, allocations: 27.67 kB / 379.7 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.00388, allocations: 27.97 kB / 379.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.003903, allocations: 33.39 kB / 379.8 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.003904, allocations: 288 / 379.8 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002128/0.004117, allocations: 93.62 kB / 379.9 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.00415, allocations: 63.33 kB / 380 MB, free: 0.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.004219, allocations: 157.9 kB / 380.1 MB, free: 420 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.00423, allocations: 25.7 kB / 380.1 MB, free: 388 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.00426, allocations: 126.9 kB / 380.3 MB, free: 256 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.004298, allocations: 35.64 kB / 380.3 MB, free: 220 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.004338, allocations: 35.36 kB / 380.3 MB, free: 176 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.004469, allocations: 492.1 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.163e-05/0.004501, allocations: 19.98 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/0.004526, allocations: 11.98 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.631e-05/0.004602, allocations: 55.75 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.004604, allocations: 0 / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000118/0.004722, allocations: 70.25 kB / 381 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.004736, allocations: 8 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.00474, allocations: 0 / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.004752, allocations: 0 / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.004856, allocations: 19.92 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.004862, allocations: 0 / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.00489, allocations: 19.83 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.004897, allocations: 0 / 381 MB, free: 15.47 MB / 362.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.164e-05/0.004968, allocations: 164.6 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.004981, allocations: 4 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.005142, allocations: 101.6 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.005145, allocations: 4 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.005149, allocations: 0 / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.005153, allocations: 3.938 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.008e-05/0.005243, allocations: 128.6 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005244, allocations: 0 / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.005302, allocations: 15.98 kB / 381.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.005305, allocations: 4 kB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.005313, allocations: 0 / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.005314, allocations: 4 kB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005315, allocations: 3.938 kB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.005559, allocations: 116.4 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.00557, allocations: 15.89 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.005581, allocations: 0 / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.657e-05/0.005598, allocations: 3.938 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.005619, allocations: 7.984 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.005625, allocations: 8 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.131e-05/0.005657, allocations: 119.2 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005657, allocations: 0 / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.005887, allocations: 20.03 kB / 381.7 MB, free: 14.69 MB / 362.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.0001195/0.006006, allocations: 111.2 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.006129, allocations: 51.61 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.00613, allocations: 0 / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.203e-05/0.006172, allocations: 39.61 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.006316, allocations: 0 / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.006615, allocations: 150.2 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.00665, allocations: 59.34 kB / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.006682, allocations: 8 kB / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.006708, allocations: 12.5 kB / 382.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.006709, allocations: 3.938 kB / 382.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of Templates: time 0.002662/0.009371, allocations: 0.6978 MB / 382.8 MB, free: 13.49 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7245955960825086]