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.001061/0.001061, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001136/0.001136, allocations: 165.3 kB / 23.8 MB, free: 0.7773 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.9254/0.9254, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1618/0.1618, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.903e-06/1.903e-06, allocations: 0 / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.046e-05, allocations: 8.219 kB / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001607/0.001638, allocations: 0.5237 MB / 348.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.003665, allocations: 1.374 MB / 349.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.003706, allocations: 4 kB / 349.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.00374, allocations: 3.938 kB / 349.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.003784, allocations: 0 / 349.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000764/0.004548, allocations: 219.9 kB / 349.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.834e-05/0.004606, allocations: 7.938 kB / 349.8 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.004653, allocations: 4 kB / 349.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.004688, allocations: 7.984 kB / 349.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.004754, allocations: 0 / 349.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.004772, allocations: 0 / 349.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/0.00523, allocations: 259.6 kB / 350 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.005248, allocations: 8 kB / 350 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.005268, allocations: 3.984 kB / 350 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.005529, allocations: 195.5 kB / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.005532, allocations: 0 / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005533, allocations: 0 / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.005538, allocations: 3.938 kB / 350.2 MB, free: 6.852 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003295/0.005867, allocations: 360.2 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.00592, allocations: 8.031 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.005976, allocations: 8.938 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.095e-05/0.006037, allocations: 104.6 kB / 350.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.006052, allocations: 4.375 kB / 350.7 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.00607, allocations: 4.375 kB / 350.7 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.006216, allocations: 59.95 kB / 350.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.00623, allocations: 192 / 350.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.006245, allocations: 4.375 kB / 350.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.006257, allocations: 3.938 kB / 350.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.418e-05/0.006291, allocations: 15.92 kB / 350.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.006676, allocations: 244.2 kB / 351 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.502e-05/0.006731, allocations: 27.05 kB / 351.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.006754, allocations: 7.688 kB / 351.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.006768, allocations: 8.062 kB / 351.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.006796, allocations: 41.33 kB / 351.1 MB, free: 5.836 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.006797, allocations: 0 / 351.1 MB, free: 5.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001933/0.006991, allocations: 41.62 kB / 351.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.007013, allocations: 51.41 kB / 351.2 MB, free: 5.727 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.007084, allocations: 153.9 kB / 351.4 MB, free: 5.559 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.007093, allocations: 25.7 kB / 351.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.007133, allocations: 138.8 kB / 351.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/0.007138, allocations: 0 / 351.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.00717, allocations: 23.61 kB / 351.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.007228, allocations: 0.4884 MB / 352 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.00724, allocations: 4 kB / 352 MB, free: 4.852 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.618e-05/0.007266, allocations: 27.06 kB / 352.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.007302, allocations: 31 kB / 352.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007304, allocations: 0 / 352.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.758e-05/0.007382, allocations: 61.52 kB / 352.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.007397, allocations: 4 kB / 352.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.007403, allocations: 4.094 kB / 352.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.007422, allocations: 0 / 352.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.007481, allocations: 11.98 kB / 352.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.007488, allocations: 3.938 kB / 352.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.007505, allocations: 0 / 352.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.007513, allocations: 4 kB / 352.2 MB, free: 4.676 MB / 282.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 5.242e-05/0.007565, allocations: 160.5 kB / 352.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.007587, allocations: 7.938 kB / 352.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.007728, allocations: 48.78 kB / 352.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.00773, allocations: 4 kB / 352.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.007734, allocations: 0 / 352.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.007737, allocations: 0 / 352.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.007838, allocations: 108.6 kB / 352.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.007842, allocations: 4 kB / 352.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.007843, allocations: 0 / 352.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.007845, allocations: 0 / 352.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.007853, allocations: 3.938 kB / 352.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.007855, allocations: 3.984 kB / 352.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.007856, allocations: 4.031 kB / 352.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.226e-05/0.007929, allocations: 183.9 kB / 352.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.007937, allocations: 0 / 352.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.007949, allocations: 7.938 kB / 352.7 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.597e-05/0.008005, allocations: 0 / 352.7 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.008024, allocations: 7.984 kB / 352.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.008029, allocations: 0 / 352.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.121e-05/0.00805, allocations: 119.2 kB / 352.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00805, allocations: 0 / 352.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003401/0.00839, allocations: 39.94 kB / 352.9 MB, free: 3.914 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.0002444/0.008634, allocations: 147.3 kB / 353 MB, free: 3.762 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.329e-05/0.008718, allocations: 19.62 kB / 353 MB, free: 3.738 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008719, allocations: 0 / 353 MB, free: 3.738 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.904e-05/0.008748, allocations: 37.39 kB / 353.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.008984, allocations: 7.984 kB / 353.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.009202, allocations: 97.52 kB / 353.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.177e-05/0.009234, allocations: 51.36 kB / 353.2 MB, free: 3.492 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.796e-05/0.009262, allocations: 12.33 kB / 353.2 MB, free: 3.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.009281, allocations: 12.44 kB / 353.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009281, allocations: 0 / 353.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of Templates: time 0.003369/0.01265, allocations: 1.122 MB / 354.4 MB, free: 2.352 MB / 282.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] 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","",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.172489079181105]