Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001488/0.001488, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.000962/0.000962, allocations: 167.1 kB / 24.82 MB, free: 8.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9742/0.9742, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3449/0.3449, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.27e-05, allocations: 2.312 kB / 378.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.00441/0.004443, allocations: 0.4969 MB / 379 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.006578, allocations: 1.397 MB / 380.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.006614, allocations: 0 / 380.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.006636, allocations: 0 / 380.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.609e-05/0.006672, allocations: 0 / 380.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003656/0.01033, allocations: 208 kB / 380.6 MB, free: 300 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.591e-05/0.01038, allocations: 11.98 kB / 380.6 MB, free: 288 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.01042, allocations: 4 kB / 380.6 MB, free: 284 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.825e-05/0.01046, allocations: 7.938 kB / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.01052, allocations: 7.969 kB / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.01054, allocations: 3.938 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.01096, allocations: 259.6 kB / 380.9 MB, free: 4 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.01097, allocations: 0 / 380.9 MB, free: 4 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.01099, allocations: 0 / 380.9 MB, free: 4 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.01127, allocations: 199.5 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.01127, allocations: 0 / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01127, allocations: 0 / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.01128, allocations: 0 / 381.1 MB, free: 15.81 MB / 362.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.0003399/0.01162, allocations: 368.2 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.01166, allocations: 12.03 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.01169, allocations: 0.9375 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/0.01179, allocations: 104.6 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.01181, allocations: 4.375 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.01182, allocations: 384 / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.01197, allocations: 63.94 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.01198, allocations: 192 / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.01199, allocations: 4.375 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.012, allocations: 11.88 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.01202, allocations: 11.94 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.01234, allocations: 232.8 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.284e-05/0.01238, allocations: 27.06 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.01239, allocations: 7.688 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.0124, allocations: 4.062 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.01242, allocations: 33.39 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.01242, allocations: 0 / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001209/0.01254, allocations: 37.58 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.01257, allocations: 55.41 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.01264, allocations: 158 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.01265, allocations: 25.7 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.01269, allocations: 134.8 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.33e-06/0.0127, allocations: 4 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.01272, allocations: 23.36 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.01284, allocations: 496.1 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-06/0.01285, allocations: 4 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/0.01287, allocations: 23.06 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/0.0129, allocations: 39.12 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.0129, allocations: 0 / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.746e-05/0.01295, allocations: 53.58 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01296, allocations: 7.938 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01297, allocations: 4 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.01298, allocations: 0 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.194e-05/0.01302, allocations: 8 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.01302, allocations: 3.938 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.084e-05/0.01304, allocations: 7.938 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.01304, allocations: 96 / 383 MB, free: 13.66 MB / 362.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 8.641e-05/0.01313, allocations: 168.6 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.01314, allocations: 0 / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.01325, allocations: 40.8 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.01325, allocations: 0 / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-06/0.01326, allocations: 0 / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01326, allocations: 0 / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.374e-05/0.01334, allocations: 97.25 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.01335, allocations: 4.031 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.01335, allocations: 3.938 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.01335, allocations: 0 / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.01335, allocations: 4 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01335, allocations: 0 / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01336, allocations: 7.875 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.922e-05/0.01344, allocations: 187.9 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.01344, allocations: 96 / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-06/0.01345, allocations: 0 / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.042e-05/0.01349, allocations: 7.984 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/0.0135, allocations: 3.969 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.0135, allocations: 4 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.01354, allocations: 123.2 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01354, allocations: 0 / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.01371, allocations: 39.92 kB / 383.7 MB, free: 12.92 MB / 362.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.0002042/0.01391, allocations: 143.2 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.87e-05/0.01398, allocations: 19.61 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01398, allocations: 0 / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.081e-05/0.01403, allocations: 41.67 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.01417, allocations: 10.75 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.01437, allocations: 102.3 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.164e-05/0.0144, allocations: 51.36 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.922e-05/0.01442, allocations: 4 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.01446, allocations: 70.2 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01446, allocations: 0 / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.002801/0.01726, allocations: 1.264 MB / 385.4 MB, free: 11.16 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.095179819036275]