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.0009748/0.0009748, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001002/0.001002, allocations: 169 kB / 24.25 MB, free: 308 kB / 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.8333/0.8333, allocations: 158.6 MB / 186 MB, free: 2.91 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.1345/0.1345, allocations: 32.37 MB / 270.7 MB, free: 14.76 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.232e-06/1.232e-06, allocations: 0 / 347.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.476e-05, allocations: 13.34 kB / 347.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001031/0.001046, allocations: 0.512 MB / 348.2 MB, free: 9.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.002226, allocations: 1.382 MB / 349.5 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.00225, allocations: 0 / 349.5 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.002265, allocations: 3.938 kB / 349.5 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.428e-05/0.002289, allocations: 0 / 349.5 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.002805, allocations: 215.9 kB / 349.8 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.606e-05/0.002851, allocations: 15.92 kB / 349.8 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.193e-05/0.002883, allocations: 0 / 349.8 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.52e-05/0.002908, allocations: 4 kB / 349.8 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.128e-05/0.002949, allocations: 4 kB / 349.8 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.002962, allocations: 7.938 kB / 349.8 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.003268, allocations: 255.6 kB / 350 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.00328, allocations: 7.969 kB / 350 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.509e-05/0.003295, allocations: 4 kB / 350.1 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.00349, allocations: 187.5 kB / 350.2 MB, free: 7.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003492, allocations: 0 / 350.2 MB, free: 7.188 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003492, allocations: 0 / 350.2 MB, free: 7.188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.003496, allocations: 3.938 kB / 350.2 MB, free: 7.184 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.000233/0.003729, allocations: 360.2 kB / 350.6 MB, free: 6.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.003759, allocations: 12.03 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.003796, allocations: 17.22 kB / 350.6 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.804e-05/0.003854, allocations: 108.6 kB / 350.7 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.003864, allocations: 384 / 350.7 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.003872, allocations: 384 / 350.7 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.684e-05/0.003949, allocations: 55.97 kB / 350.8 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.003955, allocations: 192 / 350.8 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.003962, allocations: 384 / 350.8 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.003969, allocations: 3.938 kB / 350.8 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.295e-05/0.003982, allocations: 7.922 kB / 350.8 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.802e-05/0.00406, allocations: 112.6 kB / 350.9 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.104e-05/0.004091, allocations: 31.09 kB / 350.9 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.004105, allocations: 7.688 kB / 350.9 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-06/0.004111, allocations: 0 / 350.9 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.004126, allocations: 37.45 kB / 351 MB, free: 6.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.004127, allocations: 0 / 351 MB, free: 6.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001053/0.004232, allocations: 37.62 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.711e-05/0.004249, allocations: 55.34 kB / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.156e-05/0.00429, allocations: 157.9 kB / 351.2 MB, free: 6.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-06/0.004295, allocations: 25.7 kB / 351.2 MB, free: 6 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.135e-05/0.004306, allocations: 131.1 kB / 351.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.004325, allocations: 4 kB / 351.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.004342, allocations: 19.38 kB / 351.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.004377, allocations: 0.4884 MB / 351.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.004384, allocations: 4 kB / 351.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-06/0.00439, allocations: 0 / 351.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.088e-05/0.004411, allocations: 11.69 kB / 351.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004412, allocations: 0 / 351.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.167e-05/0.004454, allocations: 33.64 kB / 351.9 MB, free: 5.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.004466, allocations: 8 kB / 351.9 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.004471, allocations: 4.094 kB / 351.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.004483, allocations: 0 / 351.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.004538, allocations: 3.984 kB / 352 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.004544, allocations: 7.875 kB / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.004556, allocations: 7.953 kB / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.004562, allocations: 0 / 352 MB, free: 5.246 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.891e-05/0.004611, allocations: 156.6 kB / 352.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.004619, allocations: 0 / 352.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.00472, allocations: 48.78 kB / 352.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.004723, allocations: 4 kB / 352.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.004727, allocations: 7.938 kB / 352.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.004729, allocations: 0 / 352.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.311e-05/0.004772, allocations: 108.6 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.004778, allocations: 4 kB / 352.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.004778, allocations: 0 / 352.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.00478, allocations: 0 / 352.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.004785, allocations: 0 / 352.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.004787, allocations: 0 / 352.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.004788, allocations: 8.016 kB / 352.3 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.371e-05/0.004842, allocations: 68.39 kB / 352.4 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-06/0.004847, allocations: 4 kB / 352.4 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.004857, allocations: 3.984 kB / 352.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.004923, allocations: 3.984 kB / 352.4 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.004937, allocations: 4 kB / 352.4 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.004941, allocations: 3.938 kB / 352.4 MB, free: 4.754 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.728e-05/0.004959, allocations: 127.1 kB / 352.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.004959, allocations: 4 kB / 352.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.005211, allocations: 40.06 kB / 352.5 MB, free: 4.586 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.000207/0.005418, allocations: 143.2 kB / 352.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.111e-05/0.005479, allocations: 11.69 kB / 352.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.005481, allocations: 0 / 352.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.189e-05/0.005513, allocations: 37.39 kB / 352.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.005649, allocations: 4 kB / 352.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000159/0.005808, allocations: 97.56 kB / 352.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.823e-05/0.005826, allocations: 59.3 kB / 352.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.387e-05/0.00584, allocations: 4.125 kB / 352.9 MB, free: 4.168 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.411e-05/0.005854, allocations: 8.5 kB / 352.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.005855, allocations: 0 / 352.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of Templates: time 0.002749/0.008604, allocations: 1.126 MB / 354 MB, free: 3.035 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] 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","",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.8354115679394454]