Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001259/0.001259, allocations: 105.1 kB / 21.22 MB, free: 0.5156 MB / 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.001876/0.001876, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.47/1.47, allocations: 230.3 MB / 258 MB, free: 8.176 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.2264/0.2264, allocations: 46.95 MB / 361.4 MB, free: 4.375 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [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.002583/0.002583, allocations: 79.86 kB / 0.4971 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.333, allocations: 66.04 MB / 0.5616 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001575/0.3346, allocations: 0.5024 MB / 0.5621 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.3366, allocations: 1.412 MB / 0.5635 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.3367, allocations: 0 / 0.5635 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.3367, allocations: 0 / 0.5635 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.886e-05/0.3367, allocations: 0 / 0.5635 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007158/0.3374, allocations: 223.5 kB / 0.5637 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.3375, allocations: 11.98 kB / 0.5637 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.3375, allocations: 8 kB / 0.5637 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.775e-05/0.3375, allocations: 0 / 0.5637 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.3376, allocations: 4 kB / 0.5637 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.3376, allocations: 0 / 0.5637 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004704/0.3381, allocations: 275.6 kB / 0.564 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.3381, allocations: 7.969 kB / 0.564 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.3381, allocations: 7.938 kB / 0.564 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.3383, allocations: 135.4 kB / 0.5642 GB, free: 1.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3383, allocations: 0 / 0.5642 GB, free: 1.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3383, allocations: 0 / 0.5642 GB, free: 1.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3384, allocations: 4 kB / 0.5642 GB, free: 1.93 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003991/0.3387, allocations: 261 kB / 0.5644 GB, free: 1.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3388, allocations: 12.03 kB / 0.5644 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.3388, allocations: 4.938 kB / 0.5644 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.3389, allocations: 110.5 kB / 0.5645 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3389, allocations: 384 / 0.5645 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.339, allocations: 4.375 kB / 0.5645 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.3391, allocations: 33.95 kB / 0.5646 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3391, allocations: 4 kB / 0.5646 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3391, allocations: 7.938 kB / 0.5646 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3391, allocations: 0 / 0.5646 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.3391, allocations: 0 / 0.5646 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.3393, allocations: 124.8 kB / 0.5647 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.814e-05/0.3393, allocations: 14.58 kB / 0.5647 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.3394, allocations: 8.953 kB / 0.5647 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.3394, allocations: 0 / 0.5647 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3394, allocations: 42.44 kB / 0.5648 GB, free: 1.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.3394, allocations: 3.938 kB / 0.5648 GB, free: 1.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001337/0.3395, allocations: 41.69 kB / 0.5648 GB, free: 1.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.3396, allocations: 51.41 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.78e-05/0.3397, allocations: 93.86 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.3397, allocations: 25.7 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.3397, allocations: 80.39 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.3397, allocations: 7.953 kB / 0.565 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.3398, allocations: 17.72 kB / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.3399, allocations: 314.8 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.3399, allocations: 0 / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-06/0.3399, allocations: 4 kB / 0.5654 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.34, allocations: 8.797 kB / 0.5654 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.34, allocations: 4 kB / 0.5654 GB, free: 0.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.396e-05/0.34, allocations: 37.77 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.34, allocations: 7.938 kB / 0.5654 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.34, allocations: 4 kB / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.34, allocations: 0 / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.373e-05/0.3401, allocations: 3.984 kB / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.3401, allocations: 0 / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.223e-05/0.3401, allocations: 0 / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.3401, allocations: 4 kB / 0.5654 GB, free: 448 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.122e-05/0.3402, allocations: 109.8 kB / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-06/0.3402, allocations: 7.969 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.3403, allocations: 48.78 kB / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3403, allocations: 0 / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3403, allocations: 8 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3403, allocations: 0 / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.98e-05/0.3404, allocations: 112.8 kB / 0.5657 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.3404, allocations: 11.92 kB / 0.5657 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.3404, allocations: 4.031 kB / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3404, allocations: 3.938 kB / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.3404, allocations: 0 / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.3404, allocations: 0 / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3404, allocations: 0 / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.38e-05/0.3405, allocations: 61.08 kB / 0.5658 GB, free: 16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.3405, allocations: 11.92 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.3406, allocations: 0 / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/0.3406, allocations: 4.031 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.3406, allocations: 3.984 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3406, allocations: 4 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.514e-05/0.3407, allocations: 75.28 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3407, allocations: 0 / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.3409, allocations: 51.86 kB / 0.5659 GB, free: 15.85 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.0002414/0.3412, allocations: 127.2 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.543e-05/0.3412, allocations: 12.09 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3412, allocations: 0 / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.3413, allocations: 33.69 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.3414, allocations: 14.44 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.3417, allocations: 77 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.342, allocations: 0.6768 MB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.499e-05/0.342, allocations: 0 / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.342, allocations: 11.56 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.342, allocations: 0 / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of Templates: time 0.003535/0.3455, allocations: 1.078 MB / 0.5679 GB, free: 13.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.973060616292059]