Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001314/0.001314, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001433/0.001433, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 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 1.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2464/0.2464, allocations: 46.97 MB / 361.6 MB, free: 4.047 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+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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 59.91 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3134, allocations: 66.04 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001656/0.3151, allocations: 0.502 MB / 0.5623 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.317, allocations: 1.35 MB / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.317, allocations: 0 / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.317, allocations: 0 / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.341e-05/0.317, allocations: 3.938 kB / 0.5636 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000676/0.3177, allocations: 211.1 kB / 0.5638 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.253e-05/0.3177, allocations: 8 kB / 0.5638 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.232e-05/0.3178, allocations: 0 / 0.5638 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.388e-05/0.3178, allocations: 4 kB / 0.5638 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.3178, allocations: 11.98 kB / 0.5638 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.3178, allocations: 0 / 0.5638 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.3183, allocations: 275.6 kB / 0.5641 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.3183, allocations: 0 / 0.5641 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.3183, allocations: 15.92 kB / 0.5641 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.3186, allocations: 138 kB / 0.5642 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3186, allocations: 0 / 0.5642 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3186, allocations: 0 / 0.5642 GB, free: 1.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.3186, allocations: 0 / 0.5642 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003685/0.3189, allocations: 262.2 kB / 0.5645 GB, free: 1.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.319, allocations: 16.03 kB / 0.5645 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.319, allocations: 0.9375 kB / 0.5645 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.779e-05/0.3191, allocations: 102.5 kB / 0.5646 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3191, allocations: 384 / 0.5646 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.3191, allocations: 4.375 kB / 0.5646 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.3192, allocations: 63.59 kB / 0.5647 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3192, allocations: 3.984 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.3193, allocations: 4 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3193, allocations: 0 / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.834e-05/0.3193, allocations: 0 / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.3194, allocations: 105.3 kB / 0.5648 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.088e-05/0.3194, allocations: 18.61 kB / 0.5648 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/0.3195, allocations: 12.73 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.3195, allocations: 0 / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3195, allocations: 34.56 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.3195, allocations: 4.062 kB / 0.5649 GB, free: 0.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001264/0.3196, allocations: 37.62 kB / 0.5649 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.3197, allocations: 51.41 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.3197, allocations: 93.86 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3198, allocations: 25.95 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.3198, allocations: 92.12 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.3198, allocations: 7.953 kB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.3199, allocations: 13.7 kB / 0.5652 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.32, allocations: 310.8 kB / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.32, allocations: 4 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-06/0.32, allocations: 3.938 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/0.32, allocations: 8.859 kB / 0.5655 GB, free: 272 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.32, allocations: 0 / 0.5655 GB, free: 272 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.365e-05/0.3201, allocations: 37.7 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3201, allocations: 8.094 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3201, allocations: 0 / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3201, allocations: 7.922 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.271e-05/0.3202, allocations: 4 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3202, allocations: 0 / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.3202, allocations: 0 / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.3202, allocations: 0 / 0.5655 GB, free: 208 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 8.182e-05/0.3203, allocations: 117.7 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.3203, allocations: 0 / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.3204, allocations: 56.78 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3204, allocations: 0 / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3204, allocations: 0 / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.3204, allocations: 11.98 kB / 0.5657 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.3204, allocations: 0 / 0.5657 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.3205, allocations: 0 / 0.5657 GB, free: 0 / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.3205, allocations: 7.984 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.411e-05/0.3206, allocations: 108.9 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001394/0.3208, allocations: 210.8 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.899e-05/0.3208, allocations: 11.92 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.889e-05/0.3208, allocations: 83.22 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Backend: time 1.4e-07/0.3208, allocations: 0 / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004787/0.3213, allocations: 114.3 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004298/0.3217, allocations: 0.5582 MB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of Templates: time 0.003564/0.3253, allocations: 1.115 MB / 0.5679 GB, free: 13.71 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.835353299997223]