Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001485/0.001485, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.001584/0.001584, allocations: 157.3 kB / 23.52 MB, free: 0.8945 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 1.397/1.397, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2649/0.2649, allocations: 32.38 MB / 270 MB, free: 14.79 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.42e-05, allocations: 2.312 kB / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001761/0.001785, allocations: 0.4998 MB / 347.4 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.003958, allocations: 1.349 MB / 348.8 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.003988, allocations: 4 kB / 348.8 MB, free: 7.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.004001, allocations: 0 / 348.8 MB, free: 7.961 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.176e-05/0.004043, allocations: 3.938 kB / 348.8 MB, free: 7.957 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009165/0.004959, allocations: 211.9 kB / 349 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.78e-05/0.005007, allocations: 11.98 kB / 349 MB, free: 7.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.005045, allocations: 0 / 349 MB, free: 7.738 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.186e-05/0.005077, allocations: 4 kB / 349 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.374e-05/0.005131, allocations: 11.92 kB / 349 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.005146, allocations: 0 / 349 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005681/0.005714, allocations: 263.6 kB / 349.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.005726, allocations: 0 / 349.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.005752, allocations: 0 / 349.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.006069, allocations: 195.5 kB / 349.4 MB, free: 7.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.006072, allocations: 0 / 349.4 MB, free: 7.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006072, allocations: 0 / 349.4 MB, free: 7.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.006076, allocations: 0 / 349.4 MB, free: 7.273 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003436/0.00642, allocations: 254.3 kB / 349.7 MB, free: 6.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.006457, allocations: 12.03 kB / 349.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.006507, allocations: 8.875 kB / 349.7 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.543e-05/0.006582, allocations: 109.8 kB / 349.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.006597, allocations: 384 / 349.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.006611, allocations: 8.312 kB / 349.8 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.006717, allocations: 55.97 kB / 349.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.00673, allocations: 8.172 kB / 349.9 MB, free: 6.762 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.006741, allocations: 384 / 349.9 MB, free: 6.762 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.006748, allocations: 3.938 kB / 349.9 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.661e-05/0.006774, allocations: 0 / 349.9 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.006889, allocations: 109.3 kB / 350 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.086e-05/0.00694, allocations: 22.55 kB / 350 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.396e-05/0.006964, allocations: 4.859 kB / 350 MB, free: 6.582 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.006978, allocations: 0 / 350 MB, free: 6.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.007001, allocations: 34.62 kB / 350.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.007002, allocations: 0 / 350.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002088/0.007211, allocations: 33.69 kB / 350.1 MB, free: 6.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.007233, allocations: 67.28 kB / 350.2 MB, free: 6.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.265e-05/0.007286, allocations: 89.86 kB / 350.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.007296, allocations: 25.95 kB / 350.3 MB, free: 6.293 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.453e-05/0.007311, allocations: 88.14 kB / 350.4 MB, free: 6.203 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.007332, allocations: 0 / 350.4 MB, free: 6.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.007361, allocations: 9.719 kB / 350.4 MB, free: 6.188 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.007405, allocations: 322.8 kB / 350.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.007417, allocations: 0 / 350.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-06/0.007426, allocations: 0 / 350.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.58e-05/0.007452, allocations: 8.859 kB / 350.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007453, allocations: 0 / 350.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.493e-05/0.007518, allocations: 37.64 kB / 350.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.007531, allocations: 8.094 kB / 350.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.007535, allocations: 0 / 350.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.007556, allocations: 3.984 kB / 350.7 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.597e-05/0.007612, allocations: 4 kB / 350.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.007617, allocations: 3.938 kB / 350.8 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.007635, allocations: 0 / 350.8 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.007641, allocations: 0 / 350.8 MB, free: 5.789 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 (1): * Single equations (assignments): 1 * 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 4.023e-05/0.007681, allocations: 113.8 kB / 350.9 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.007694, allocations: 3.953 kB / 350.9 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.007801, allocations: 44.84 kB / 350.9 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.007804, allocations: 0 / 350.9 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.007809, allocations: 15.86 kB / 350.9 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.007811, allocations: 0 / 350.9 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.073e-05/0.007861, allocations: 97.33 kB / 351 MB, free: 5.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.007868, allocations: 4 kB / 351 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.007868, allocations: 0 / 351 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.00787, allocations: 3.984 kB / 351 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.007876, allocations: 0 / 351 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007877, allocations: 7.969 kB / 351 MB, free: 5.457 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.007878, allocations: 4 kB / 351 MB, free: 5.453 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.223e-05/0.007941, allocations: 61.08 kB / 351.1 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-06/0.007946, allocations: 4 kB / 351.1 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.007969, allocations: 0 / 351.1 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.008039, allocations: 7.984 kB / 351.1 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.008051, allocations: 0 / 351.1 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.008055, allocations: 3.938 kB / 351.1 MB, free: 5.359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.594e-05/0.008071, allocations: 79.28 kB / 351.2 MB, free: 5.281 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008071, allocations: 4.125 kB / 351.2 MB, free: 5.277 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.008342, allocations: 35.94 kB / 351.2 MB, free: 5.242 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002288/0.008571, allocations: 147.1 kB / 351.4 MB, free: 5.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.356e-05/0.008634, allocations: 11.94 kB / 351.4 MB, free: 5.078 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008636, allocations: 0 / 351.4 MB, free: 5.078 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-05/0.008657, allocations: 25.7 kB / 351.4 MB, free: 5.047 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.008822, allocations: 7.984 kB / 351.4 MB, free: 5.039 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001831/0.009005, allocations: 95.86 kB / 351.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.377e-05/0.009029, allocations: 63.41 kB / 351.6 MB, free: 4.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.474e-05/0.009044, allocations: 4 kB / 351.6 MB, free: 4.836 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.009062, allocations: 8.5 kB / 351.6 MB, free: 4.828 MB / 282.7 MB Notification: Performance of SimCode: time 3.5e-07/0.009063, allocations: 0 / 351.6 MB, free: 4.828 MB / 282.7 MB Notification: Performance of Templates: time 0.00326/0.01232, allocations: 1.101 MB / 352.7 MB, free: 3.73 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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: 4.532546094967984]