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.0007808/0.0007808, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.0007529/0.0007529, allocations: 169.9 kB / 23.96 MB, free: 0.6016 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.8473/0.8473, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1192/0.1192, allocations: 32.37 MB / 270.4 MB, free: 14.97 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.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.452e-06/1.452e-06, allocations: 0 / 408.1 MB, free: 1.758 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.118e-05, allocations: 6.078 kB / 408.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.000945/0.0009662, allocations: 0.4949 MB / 408.6 MB, free: 1.262 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.002506, allocations: 1.349 MB / 409.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.00253, allocations: 0 / 409.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.002553, allocations: 0 / 409.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.862e-05/0.002581, allocations: 0 / 409.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.0032, allocations: 215.9 kB / 410.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.531e-05/0.003255, allocations: 11.94 kB / 410.2 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.003304, allocations: 11.98 kB / 410.2 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.721e-05/0.003331, allocations: 0 / 410.2 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.003377, allocations: 4 kB / 410.2 MB, free: 15.65 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.003392, allocations: 0 / 410.2 MB, free: 15.65 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.003702, allocations: 255.6 kB / 410.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.003716, allocations: 0 / 410.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.003733, allocations: 7.984 kB / 410.4 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.003974, allocations: 195.5 kB / 410.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003976, allocations: 0 / 410.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003977, allocations: 4 kB / 410.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.003981, allocations: 4 kB / 410.6 MB, free: 15.2 MB / 394.7 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.0003014/0.004282, allocations: 262.2 kB / 410.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.004322, allocations: 8.031 kB / 410.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.004357, allocations: 4.875 kB / 410.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.681e-05/0.004434, allocations: 113.7 kB / 411 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.004445, allocations: 384 / 411 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.004454, allocations: 384 / 411 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.004592, allocations: 63.97 kB / 411.1 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.0046, allocations: 192 / 411.1 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.00461, allocations: 384 / 411.1 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.004616, allocations: 7.922 kB / 411.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.799e-05/0.004644, allocations: 8 kB / 411.1 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.004931, allocations: 192.6 kB / 411.3 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/0.004973, allocations: 22.52 kB / 411.3 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.004988, allocations: 4.859 kB / 411.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.004997, allocations: 0 / 411.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.005023, allocations: 38.56 kB / 411.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.005025, allocations: 0 / 411.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001364/0.005161, allocations: 37.69 kB / 411.4 MB, free: 14.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.005189, allocations: 55.34 kB / 411.4 MB, free: 14.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.643e-05/0.005246, allocations: 97.98 kB / 411.5 MB, free: 14.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005256, allocations: 25.7 kB / 411.5 MB, free: 14.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.005293, allocations: 92.08 kB / 411.6 MB, free: 14.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.244e-06/0.0053, allocations: 7.953 kB / 411.6 MB, free: 14.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.00533, allocations: 13.72 kB / 411.7 MB, free: 14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.005408, allocations: 310.8 kB / 412 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.005424, allocations: 4 kB / 412 MB, free: 13.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.052e-05/0.005445, allocations: 26.56 kB / 412 MB, free: 13.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/0.005474, allocations: 30.64 kB / 412 MB, free: 13.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005476, allocations: 0 / 412 MB, free: 13.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.617e-05/0.005522, allocations: 53.52 kB / 412.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.005534, allocations: 8 kB / 412.1 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.00554, allocations: 3.984 kB / 412.1 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.005553, allocations: 96 / 412.1 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.015e-05/0.005593, allocations: 4 kB / 412.1 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.005599, allocations: 4 kB / 412.1 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.111e-05/0.00561, allocations: 3.984 kB / 412.1 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.005615, allocations: 4.094 kB / 412.1 MB, free: 13.52 MB / 394.7 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 4.994e-05/0.005665, allocations: 113.8 kB / 412.2 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.005676, allocations: 3.938 kB / 412.2 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.866e-05/0.005755, allocations: 44.78 kB / 412.3 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.005757, allocations: 0 / 412.3 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.005766, allocations: 4 kB / 412.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.005768, allocations: 0 / 412.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.477e-05/0.005853, allocations: 97.33 kB / 412.4 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.005859, allocations: 15.95 kB / 412.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.005859, allocations: 0 / 412.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.005861, allocations: 0 / 412.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.005867, allocations: 3.938 kB / 412.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005868, allocations: 0 / 412.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005869, allocations: 0 / 412.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.406e-05/0.005943, allocations: 127.6 kB / 412.5 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-06/0.00595, allocations: 7.953 kB / 412.5 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.00596, allocations: 7.922 kB / 412.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.006, allocations: 0 / 412.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.006013, allocations: 11.97 kB / 412.5 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.006019, allocations: 8 kB / 412.5 MB, free: 13.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.222e-05/0.006041, allocations: 75.28 kB / 412.6 MB, free: 12.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006041, allocations: 0 / 412.6 MB, free: 12.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.00622, allocations: 39.94 kB / 412.7 MB, free: 12.91 MB / 394.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.0001956/0.006416, allocations: 147.1 kB / 412.8 MB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.64e-05/0.006472, allocations: 8 kB / 412.8 MB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006474, allocations: 288 / 412.8 MB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/0.006497, allocations: 41.62 kB / 412.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.006637, allocations: 7.938 kB / 412.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001776/0.006814, allocations: 114.5 kB / 413 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.543e-05/0.00685, allocations: 59.34 kB / 413 MB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.409e-05/0.006864, allocations: 8.5 kB / 413 MB, free: 12.46 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.006864, allocations: 0 / 413 MB, free: 12.46 MB / 394.7 MB Notification: Performance of Templates: time 0.001606/0.00847, allocations: 0.9246 MB / 414 MB, free: 11.54 MB / 394.7 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.185094613581896]