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.0009439/0.0009439, allocations: 77.97 kB / 21.42 MB, free: 3.062 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.0008963/0.0008963, allocations: 171 kB / 24.82 MB, free: 8.906 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 0.9393/0.9393, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2204/0.2204, allocations: 32.79 MB / 294.6 MB, free: 1.242 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.653e-06/1.653e-06, allocations: 0 / 376.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.382e-05, allocations: 2.312 kB / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0009285/0.0009423, allocations: 0.5438 MB / 377 MB, free: 3.883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002655/0.001208, allocations: 147.4 kB / 377.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.001234, allocations: 0 / 377.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.00125, allocations: 3.938 kB / 377.2 MB, free: 3.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.00145, allocations: 43.7 kB / 377.2 MB, free: 3.691 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.695e-06/0.001453, allocations: 0 / 377.2 MB, free: 3.691 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.833e-05/0.001491, allocations: 19.92 kB / 377.2 MB, free: 3.672 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.164e-05/0.001523, allocations: 0 / 377.2 MB, free: 3.672 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.975e-05/0.001553, allocations: 15.92 kB / 377.2 MB, free: 3.656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.862e-05/0.001611, allocations: 15.98 kB / 377.2 MB, free: 3.641 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.001626, allocations: 4 kB / 377.2 MB, free: 3.637 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.001711, allocations: 51.88 kB / 377.3 MB, free: 3.586 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.001723, allocations: 7.922 kB / 377.3 MB, free: 3.578 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.317e-06/0.001732, allocations: 3.938 kB / 377.3 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.502e-05/0.001817, allocations: 43.88 kB / 377.4 MB, free: 3.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.001821, allocations: 7.984 kB / 377.4 MB, free: 3.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.001821, allocations: 0 / 377.4 MB, free: 3.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.001824, allocations: 0 / 377.4 MB, free: 3.523 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.0002029/0.002027, allocations: 364.5 kB / 377.7 MB, free: 3.129 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.002058, allocations: 8.031 kB / 377.7 MB, free: 3.121 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.002081, allocations: 8.938 kB / 377.7 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.78e-05/0.002138, allocations: 108.6 kB / 377.8 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.002148, allocations: 8.312 kB / 377.8 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.002154, allocations: 4.375 kB / 377.9 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.634e-05/0.002221, allocations: 50.23 kB / 377.9 MB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.002226, allocations: 192 / 377.9 MB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.002233, allocations: 4.312 kB / 377.9 MB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.002237, allocations: 384 / 377.9 MB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.96e-05/0.002286, allocations: 39.89 kB / 377.9 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001005/0.002387, allocations: 117.1 kB / 378.1 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.085e-05/0.002468, allocations: 71.03 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.002491, allocations: 27.66 kB / 378.2 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.002628, allocations: 23.98 kB / 378.2 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.002648, allocations: 37.39 kB / 378.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 7.11e-07/0.002648, allocations: 0 / 378.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001216/0.00277, allocations: 85.89 kB / 378.3 MB, free: 2.457 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.002793, allocations: 51.41 kB / 378.4 MB, free: 2.395 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.428e-05/0.002847, allocations: 157.9 kB / 378.5 MB, free: 2.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.002857, allocations: 29.7 kB / 378.5 MB, free: 2.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.00289, allocations: 126.9 kB / 378.7 MB, free: 2.059 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.002926, allocations: 43.61 kB / 378.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.002954, allocations: 23.38 kB / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.00307, allocations: 0.4922 MB / 379.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.003083, allocations: 8 kB / 379.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.453e-05/0.003097, allocations: 11.98 kB / 379.2 MB, free: 1.461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/0.00314, allocations: 40.23 kB / 379.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003141, allocations: 0 / 379.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.16e-05/0.003213, allocations: 77.55 kB / 379.4 MB, free: 1.336 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.003225, allocations: 12.12 kB / 379.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.00323, allocations: 0 / 379.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.003238, allocations: 0 / 379.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.003304, allocations: 19.94 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.003308, allocations: 0 / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.003322, allocations: 7.953 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.003329, allocations: 7.922 kB / 379.4 MB, free: 1.289 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 6.184e-05/0.003391, allocations: 160.6 kB / 379.6 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.003398, allocations: 4 kB / 379.6 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.003508, allocations: 89.58 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.00351, allocations: 0 / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.003512, allocations: 4 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.003515, allocations: 3.984 kB / 379.7 MB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.013e-05/0.003585, allocations: 125.1 kB / 379.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.003586, allocations: 0 / 379.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.003621, allocations: 12 kB / 379.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.003623, allocations: 0 / 379.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.003628, allocations: 4 kB / 379.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.003628, allocations: 0 / 379.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.003629, allocations: 0 / 379.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.108e-05/0.00371, allocations: 116.3 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.003717, allocations: 11.89 kB / 379.9 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.003725, allocations: 4 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-06/0.003733, allocations: 0 / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.003747, allocations: 11.92 kB / 379.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.00375, allocations: 0 / 379.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.04e-05/0.00378, allocations: 123.2 kB / 380.1 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00378, allocations: 0 / 380.1 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001256/0.003906, allocations: 16 kB / 380.1 MB, free: 0.5547 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 9.202e-05/0.003998, allocations: 115.2 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.746e-05/0.004066, allocations: 51.59 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.004067, allocations: 0 / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.053e-05/0.004087, allocations: 31.61 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.593e-05/0.004183, allocations: 14.69 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/0.004388, allocations: 138.2 kB / 380.4 MB, free: 168 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.413e-05/0.004433, allocations: 55.36 kB / 380.5 MB, free: 92 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.19e-05/0.004454, allocations: 8 kB / 380.5 MB, free: 84 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.004495, allocations: 78.19 kB / 380.5 MB, free: 4 kB / 346.7 MB Notification: Performance of SimCode: time 4.7e-07/0.004496, allocations: 0 / 380.5 MB, free: 4 kB / 346.7 MB Notification: Performance of Templates: time 0.001869/0.006365, allocations: 0.7249 MB / 381.3 MB, free: 15.28 MB / 362.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.7386614899151027]