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.0007984/0.0007984, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007533/0.0007533, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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 0.7597/0.7597, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1199/0.1199, allocations: 32.37 MB / 270.4 MB, free: 14.98 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.643e-06/1.643e-06, allocations: 0 / 408.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.506e-05, allocations: 5.656 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001105/0.00113, allocations: 0.5028 MB / 408.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.002421, allocations: 1.344 MB / 409.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.002445, allocations: 0 / 409.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.002461, allocations: 0 / 409.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.661e-05/0.002488, allocations: 7.938 kB / 409.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.002982, allocations: 223.9 kB / 410.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.795e-05/0.00303, allocations: 4 kB / 410.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.003072, allocations: 0 / 410.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.003106, allocations: 11.97 kB / 410.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.003154, allocations: 8 kB / 410.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.00317, allocations: 0 / 410.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.003468, allocations: 255.6 kB / 410.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.00348, allocations: 0 / 410.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.003496, allocations: 3.938 kB / 410.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.003706, allocations: 199.5 kB / 410.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003708, allocations: 0 / 410.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.003709, allocations: 0 / 410.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.003713, allocations: 0 / 410.6 MB, free: 10.48 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002994/0.004012, allocations: 262.2 kB / 410.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.004049, allocations: 12.03 kB / 410.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.004081, allocations: 0.9375 kB / 410.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.952e-05/0.00416, allocations: 105.7 kB / 411 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.004171, allocations: 384 / 411 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.004179, allocations: 4.375 kB / 411 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.891e-05/0.004278, allocations: 63.95 kB / 411.1 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.004286, allocations: 192 / 411.1 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.004295, allocations: 384 / 411.1 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.004301, allocations: 3.938 kB / 411.1 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.388e-05/0.004324, allocations: 7.938 kB / 411.1 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.004435, allocations: 105.2 kB / 411.2 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.588e-05/0.00447, allocations: 18.61 kB / 411.2 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.004485, allocations: 4.859 kB / 411.2 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.004493, allocations: 0 / 411.2 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.004518, allocations: 42.61 kB / 411.2 MB, free: 9.742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.004518, allocations: 4 kB / 411.2 MB, free: 9.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001196/0.004638, allocations: 33.64 kB / 411.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.00467, allocations: 55.34 kB / 411.3 MB, free: 9.633 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.834e-05/0.004728, allocations: 93.86 kB / 411.4 MB, free: 9.531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.004738, allocations: 25.7 kB / 411.5 MB, free: 9.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.282e-05/0.004761, allocations: 88.14 kB / 411.5 MB, free: 9.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.004786, allocations: 7.938 kB / 411.5 MB, free: 9.402 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.004809, allocations: 9.719 kB / 411.6 MB, free: 9.387 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.004885, allocations: 314.8 kB / 411.9 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-06/0.004894, allocations: 4.188 kB / 411.9 MB, free: 9.066 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/0.004899, allocations: 4 kB / 411.9 MB, free: 9.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.941e-05/0.004918, allocations: 12.86 kB / 411.9 MB, free: 9.047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.00492, allocations: 3.938 kB / 411.9 MB, free: 9.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.823e-05/0.004958, allocations: 41.69 kB / 411.9 MB, free: 8.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.00497, allocations: 6.656 kB / 411.9 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.004974, allocations: 0 / 411.9 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.004986, allocations: 0 / 411.9 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.005054, allocations: 4 kB / 411.9 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.00506, allocations: 3.938 kB / 411.9 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-06/0.005069, allocations: 4.094 kB / 411.9 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.005076, allocations: 0 / 411.9 MB, free: 8.98 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 (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 5.615e-05/0.005132, allocations: 109.8 kB / 412.1 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-06/0.005135, allocations: 0 / 412.1 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.469e-05/0.00523, allocations: 48.78 kB / 412.1 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005232, allocations: 0 / 412.1 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.005238, allocations: 3.938 kB / 412.1 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.005241, allocations: 8.031 kB / 412.1 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.57e-05/0.005296, allocations: 101.3 kB / 412.2 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.005299, allocations: 0 / 412.2 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-07/0.0053, allocations: 7.938 kB / 412.2 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.005301, allocations: 0 / 412.2 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.005307, allocations: 0 / 412.2 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.005307, allocations: 0 / 412.2 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005308, allocations: 0 / 412.2 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.78e-05/0.005356, allocations: 61.08 kB / 412.3 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.005361, allocations: 7.984 kB / 412.3 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-06/0.005369, allocations: 32 / 412.3 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.724e-05/0.005427, allocations: 4 kB / 412.3 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.005439, allocations: 4 kB / 412.3 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.005443, allocations: 7.875 kB / 412.3 MB, free: 8.559 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.063e-05/0.005464, allocations: 75.28 kB / 412.4 MB, free: 8.484 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005464, allocations: 0 / 412.4 MB, free: 8.484 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001514/0.005616, allocations: 43.92 kB / 412.4 MB, free: 8.441 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 (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.0001993/0.005815, allocations: 139.2 kB / 412.6 MB, free: 8.297 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.605e-05/0.005881, allocations: 12.02 kB / 412.6 MB, free: 8.285 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.005883, allocations: 4.062 kB / 412.6 MB, free: 8.281 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.005907, allocations: 33.7 kB / 412.6 MB, free: 8.242 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.006015, allocations: 4 kB / 412.6 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001939/0.006209, allocations: 106.7 kB / 412.7 MB, free: 8.102 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.732e-05/0.006246, allocations: 63.28 kB / 412.8 MB, free: 8.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.00626, allocations: 8.5 kB / 412.8 MB, free: 8.012 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.00626, allocations: 0 / 412.8 MB, free: 8.012 MB / 346.7 MB Notification: Performance of Templates: time 0.001636/0.007896, allocations: 0.9285 MB / 413.7 MB, free: 7.082 MB / 346.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: 3.9213945930823684]