Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001493/0.001493, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001651/0.001651, allocations: 220.9 kB / 25.13 MB, free: 3.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 230.4 MB / 258.7 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2293/0.2293, allocations: 46.95 MB / 362.1 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 83.84 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3126, allocations: 66.08 MB / 0.5623 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001856/0.3145, allocations: 499.3 kB / 0.5628 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.3167, allocations: 1.416 MB / 0.5642 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.3167, allocations: 0 / 0.5642 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.3167, allocations: 0 / 0.5642 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.016e-05/0.3168, allocations: 0 / 0.5642 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000805/0.3176, allocations: 223.5 kB / 0.5644 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.344e-05/0.3176, allocations: 4 kB / 0.5644 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.3177, allocations: 3.984 kB / 0.5644 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.141e-05/0.3177, allocations: 4 kB / 0.5644 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.3177, allocations: 0 / 0.5644 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3177, allocations: 4 kB / 0.5644 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.3183, allocations: 279.6 kB / 0.5647 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.3183, allocations: 7.922 kB / 0.5647 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.3183, allocations: 7.984 kB / 0.5647 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.3186, allocations: 139.4 kB / 0.5648 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3186, allocations: 0 / 0.5648 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3186, allocations: 0 / 0.5648 GB, free: 1.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3186, allocations: 0 / 0.5648 GB, free: 1.691 MB / 398.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.0004172/0.319, allocations: 261.1 kB / 0.5651 GB, free: 1.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3191, allocations: 12.03 kB / 0.5651 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.3191, allocations: 12.89 kB / 0.5651 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3192, allocations: 102.5 kB / 0.5652 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3192, allocations: 384 / 0.5652 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.3192, allocations: 4.375 kB / 0.5652 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.3194, allocations: 79.52 kB / 0.5653 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.3194, allocations: 0 / 0.5653 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3194, allocations: 3.984 kB / 0.5653 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3194, allocations: 0 / 0.5653 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.602e-05/0.3195, allocations: 11.98 kB / 0.5653 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.3198, allocations: 212 kB / 0.5655 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.691e-05/0.3199, allocations: 18.58 kB / 0.5655 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.3199, allocations: 8.859 kB / 0.5655 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.3199, allocations: 0 / 0.5655 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3199, allocations: 38.48 kB / 0.5655 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.32, allocations: 8.062 kB / 0.5656 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001536/0.3201, allocations: 29.7 kB / 0.5656 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3201, allocations: 51.41 kB / 0.5656 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.3202, allocations: 97.86 kB / 0.5657 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3202, allocations: 25.7 kB / 0.5658 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.3203, allocations: 92.02 kB / 0.5658 GB, free: 492 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-06/0.3203, allocations: 3.953 kB / 0.5658 GB, free: 488 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.3203, allocations: 13.97 kB / 0.5659 GB, free: 468 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3205, allocations: 326.8 kB / 0.5662 GB, free: 132 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.3205, allocations: 0 / 0.5662 GB, free: 132 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.3205, allocations: 26.5 kB / 0.5662 GB, free: 96 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.3206, allocations: 22.58 kB / 0.5662 GB, free: 64 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3206, allocations: 4 kB / 0.5662 GB, free: 60 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.148e-05/0.3206, allocations: 53.62 kB / 0.5663 GB, free: 0 / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.3207, allocations: 4.047 kB / 0.5663 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3207, allocations: 0 / 0.5663 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3207, allocations: 4 kB / 0.5663 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.354e-05/0.3207, allocations: 7.938 kB / 0.5663 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3207, allocations: 0 / 0.5663 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.3208, allocations: 0 / 0.5663 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.3208, allocations: 4 kB / 0.5663 GB, free: 15.98 MB / 414.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 8.766e-05/0.3209, allocations: 113.9 kB / 0.5664 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.3209, allocations: 4 kB / 0.5664 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.321, allocations: 44.8 kB / 0.5664 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.321, allocations: 0 / 0.5664 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.321, allocations: 0 / 0.5664 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.321, allocations: 3.938 kB / 0.5664 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.3212, allocations: 128.7 kB / 0.5666 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.3212, allocations: 0 / 0.5666 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3212, allocations: 3.938 kB / 0.5666 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.3212, allocations: 0 / 0.5666 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.3212, allocations: 4 kB / 0.5666 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3212, allocations: 3.938 kB / 0.5666 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3212, allocations: 0 / 0.5666 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.3213, allocations: 135.5 kB / 0.5667 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-06/0.3213, allocations: 8.031 kB / 0.5667 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.3213, allocations: 0 / 0.5667 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.3213, allocations: 0 / 0.5667 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.3214, allocations: 0 / 0.5667 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.3214, allocations: 4 kB / 0.5667 GB, free: 15.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.032e-05/0.3214, allocations: 79.28 kB / 0.5668 GB, free: 15.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3214, allocations: 0 / 0.5668 GB, free: 15.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00029/0.3217, allocations: 43.92 kB / 0.5668 GB, free: 15.34 MB / 414.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.0002524/0.3219, allocations: 135.3 kB / 0.567 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.907e-05/0.322, allocations: 23.92 kB / 0.567 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.322, allocations: 0 / 0.567 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.437e-05/0.3221, allocations: 29.7 kB / 0.567 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.3223, allocations: 7.922 kB / 0.567 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.3225, allocations: 85.05 kB / 0.5671 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.3228, allocations: 0.669 MB / 0.5678 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.379e-05/0.3228, allocations: 8.25 kB / 0.5678 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.3228, allocations: 11.38 kB / 0.5678 GB, free: 14.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3228, allocations: 0 / 0.5678 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Templates: time 0.003602/0.3264, allocations: 1.077 MB / 0.5688 GB, free: 13.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.723947382997721]