Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001874/0.001874, allocations: 71.3 kB / 19.93 MB, free: 1.77 MB / 14.72 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.002367/0.002367, allocations: 170.7 kB / 23.21 MB, free: 4.887 MB / 14.72 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.369/1.369, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 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.2077/0.2077, allocations: 32.38 MB / 269.6 MB, free: 4.664 MB / 254.1 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.542e-05, allocations: 2.281 kB / 407.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001472/0.001497, allocations: 0.4946 MB / 407.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.003565, allocations: 1.356 MB / 409.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.00359, allocations: 0 / 409.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.003608, allocations: 0 / 409.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.29e-05/0.003631, allocations: 0 / 409.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007429/0.004374, allocations: 227.2 kB / 409.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.748e-05/0.004421, allocations: 7.938 kB / 409.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.004464, allocations: 0 / 409.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.004496, allocations: 11.98 kB / 409.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.004534, allocations: 0 / 409.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.00455, allocations: 8 kB / 409.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.005014, allocations: 255.6 kB / 409.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.005032, allocations: 7.984 kB / 409.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.005049, allocations: 3.938 kB / 409.7 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.005374, allocations: 195.5 kB / 409.9 MB, free: 472 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.00538, allocations: 4 kB / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.005381, allocations: 0 / 409.9 MB, free: 468 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.005391, allocations: 0 / 409.9 MB, free: 468 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000382/0.005773, allocations: 254.3 kB / 410.1 MB, free: 184 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.005814, allocations: 12.03 kB / 410.2 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.005846, allocations: 8.891 kB / 410.2 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.005955, allocations: 105.8 kB / 410.3 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-06/0.005962, allocations: 384 / 410.3 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.005976, allocations: 4.375 kB / 410.3 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.006127, allocations: 63.95 kB / 410.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.006135, allocations: 192 / 410.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.006145, allocations: 384 / 410.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.00615, allocations: 3.938 kB / 410.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.433e-05/0.006185, allocations: 15.92 kB / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.006526, allocations: 188.6 kB / 410.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.376e-05/0.00657, allocations: 18.58 kB / 410.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.00659, allocations: 12.92 kB / 410.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.006596, allocations: 0 / 410.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.006628, allocations: 34.5 kB / 410.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.006629, allocations: 0 / 410.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001516/0.006781, allocations: 41.62 kB / 410.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.006826, allocations: 51.41 kB / 410.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.006907, allocations: 97.86 kB / 410.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.006924, allocations: 25.7 kB / 410.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.006982, allocations: 88.34 kB / 410.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.006988, allocations: 3.953 kB / 410.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.007026, allocations: 21.7 kB / 410.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.007175, allocations: 310.8 kB / 411.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.007186, allocations: 4 kB / 411.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.221e-05/0.007218, allocations: 18.58 kB / 411.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.926e-05/0.007268, allocations: 38.5 kB / 411.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.007269, allocations: 0 / 411.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.904e-05/0.007358, allocations: 57.52 kB / 411.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.00737, allocations: 4 kB / 411.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.007374, allocations: 0 / 411.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.00739, allocations: 8 kB / 411.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.905e-05/0.007439, allocations: 7.984 kB / 411.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.007443, allocations: 0 / 411.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.007461, allocations: 7.938 kB / 411.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.007466, allocations: 0 / 411.4 MB, free: 14.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.535e-05/0.007542, allocations: 109.8 kB / 411.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.007568, allocations: 11.97 kB / 411.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.007682, allocations: 48.92 kB / 411.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.007683, allocations: 0 / 411.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.007686, allocations: 0 / 411.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.007688, allocations: 0 / 411.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.007813, allocations: 97.33 kB / 411.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.007817, allocations: 0 / 411.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.007817, allocations: 0 / 411.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.007819, allocations: 0 / 411.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.00783, allocations: 15.95 kB / 411.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007831, allocations: 0 / 411.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007832, allocations: 0 / 411.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.007947, allocations: 131.5 kB / 411.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-06/0.007951, allocations: 0 / 411.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.007964, allocations: 3.938 kB / 411.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.908e-05/0.008023, allocations: 7.984 kB / 411.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.008033, allocations: 0 / 411.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.008037, allocations: 0 / 411.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.738e-05/0.008084, allocations: 83.31 kB / 411.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.008084, allocations: 0 / 411.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.008398, allocations: 39.94 kB / 411.9 MB, free: 14.18 MB / 350.1 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.0003108/0.008709, allocations: 147.1 kB / 412.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.564e-05/0.008785, allocations: 11.94 kB / 412.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.008789, allocations: 4 kB / 412.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.217e-05/0.008821, allocations: 25.7 kB / 412.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.009034, allocations: 7.938 kB / 412.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.009272, allocations: 93.25 kB / 412.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.414e-05/0.009326, allocations: 59.36 kB / 412.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.552e-05/0.009352, allocations: 11.94 kB / 412.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.009368, allocations: 8.5 kB / 412.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.009369, allocations: 0 / 412.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of Templates: time 0.003778/0.01315, allocations: 1.089 MB / 413.4 MB, free: 12.68 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.764435704797506]