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.001551/0.001551, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001692/0.001692, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.448/1.448, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2243/0.2243, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.002383/0.002383, allocations: 75.88 kB / 0.4967 GB, free: 8.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2946, allocations: 65.97 MB / 0.5612 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001445/0.2961, allocations: 0.5049 MB / 0.5617 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2974, allocations: 1.41 MB / 0.563 GB, free: 33.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.2974, allocations: 0 / 0.563 GB, free: 33.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.2974, allocations: 4.656 kB / 0.563 GB, free: 33.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.634e-05/0.2975, allocations: 3.938 kB / 0.563 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005858/0.2981, allocations: 217.6 kB / 0.5632 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.853e-05/0.2981, allocations: 6.047 kB / 0.5633 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.2981, allocations: 3.062 kB / 0.5633 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.422e-05/0.2982, allocations: 6.719 kB / 0.5633 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.656e-05/0.2982, allocations: 4.906 kB / 0.5633 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.2982, allocations: 2.719 kB / 0.5633 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.2986, allocations: 278.7 kB / 0.5635 GB, free: 33.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.2986, allocations: 12.7 kB / 0.5635 GB, free: 33.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.508e-05/0.2986, allocations: 2.969 kB / 0.5635 GB, free: 33.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.2988, allocations: 146.3 kB / 0.5637 GB, free: 33.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2988, allocations: 0 / 0.5637 GB, free: 33.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2988, allocations: 0 / 0.5637 GB, free: 33.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.2988, allocations: 0 / 0.5637 GB, free: 33.03 MB / 446.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.0002877/0.2991, allocations: 339.2 kB / 0.564 GB, free: 32.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.2991, allocations: 12.06 kB / 0.564 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.2991, allocations: 3.969 kB / 0.564 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.205e-05/0.2992, allocations: 160.4 kB / 0.5642 GB, free: 32.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.2992, allocations: 4.312 kB / 0.5642 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.2992, allocations: 8.25 kB / 0.5642 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.101e-05/0.2993, allocations: 43.41 kB / 0.5642 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.2993, allocations: 0 / 0.5642 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2993, allocations: 2.781 kB / 0.5642 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2993, allocations: 3 kB / 0.5642 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.821e-05/0.2993, allocations: 10.56 kB / 0.5642 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.2996, allocations: 244.7 kB / 0.5645 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.413e-05/0.2996, allocations: 19.36 kB / 0.5645 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.2997, allocations: 8.047 kB / 0.5645 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.2997, allocations: 1.156 kB / 0.5645 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.2997, allocations: 35.28 kB / 0.5645 GB, free: 32.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2997, allocations: 0 / 0.5645 GB, free: 32.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001222/0.2998, allocations: 37.94 kB / 0.5646 GB, free: 32.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.2998, allocations: 51.41 kB / 0.5646 GB, free: 31.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.306e-05/0.2999, allocations: 96.83 kB / 0.5647 GB, free: 31.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.2999, allocations: 28.7 kB / 0.5647 GB, free: 31.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.313e-05/0.2999, allocations: 94.94 kB / 0.5648 GB, free: 31.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-06/0.2999, allocations: 7.328 kB / 0.5648 GB, free: 31.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.2999, allocations: 12.72 kB / 0.5649 GB, free: 31.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.3, allocations: 321.8 kB / 0.5652 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.3, allocations: 0 / 0.5652 GB, free: 31.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.753e-05/0.3, allocations: 24.78 kB / 0.5652 GB, free: 31.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.574e-05/0.3, allocations: 28.61 kB / 0.5652 GB, free: 31.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3, allocations: 0 / 0.5652 GB, free: 31.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.678e-05/0.3001, allocations: 48.33 kB / 0.5653 GB, free: 31.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.3001, allocations: 3 kB / 0.5653 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3001, allocations: 6.75 kB / 0.5653 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3001, allocations: 0 / 0.5653 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.306e-05/0.3001, allocations: 6.156 kB / 0.5653 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3001, allocations: 3.984 kB / 0.5653 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.3002, allocations: 4.094 kB / 0.5653 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3002, allocations: 2.906 kB / 0.5653 GB, free: 31.3 MB / 446.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 3.852e-05/0.3002, allocations: 116.2 kB / 0.5654 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.3002, allocations: 3.984 kB / 0.5654 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.313e-05/0.3003, allocations: 47.39 kB / 0.5654 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3003, allocations: 6.812 kB / 0.5655 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.3003, allocations: 3.938 kB / 0.5655 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3003, allocations: 0 / 0.5655 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.461e-05/0.3004, allocations: 152.6 kB / 0.5656 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3004, allocations: 0 / 0.5656 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.3004, allocations: 3.469 kB / 0.5656 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3004, allocations: 3 kB / 0.5656 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.3004, allocations: 3.938 kB / 0.5656 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3004, allocations: 0 / 0.5656 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3004, allocations: 0.625 kB / 0.5656 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.527e-05/0.3005, allocations: 136.1 kB / 0.5657 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.3005, allocations: 84.58 kB / 0.5658 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-06/0.3005, allocations: 0 / 0.5658 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.377e-05/0.3006, allocations: 0 / 0.5658 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/0.3006, allocations: 6.844 kB / 0.5658 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3006, allocations: 0 / 0.5658 GB, free: 30.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.68e-05/0.3006, allocations: 82.69 kB / 0.5659 GB, free: 30.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3006, allocations: 0 / 0.5659 GB, free: 30.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000273/0.3009, allocations: 47.72 kB / 0.566 GB, free: 30.61 MB / 446.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.0002252/0.3011, allocations: 128.3 kB / 0.5661 GB, free: 30.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.344e-05/0.3012, allocations: 13.31 kB / 0.5661 GB, free: 30.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3012, allocations: 3.094 kB / 0.5661 GB, free: 30.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.045e-05/0.3012, allocations: 29.64 kB / 0.5661 GB, free: 30.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.3014, allocations: 9.656 kB / 0.5661 GB, free: 30.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001656/0.3016, allocations: 95.48 kB / 0.5662 GB, free: 30.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.231e-05/0.3016, allocations: 0.672 MB / 0.5669 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.83e-05/0.3017, allocations: 0 / 0.5669 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.132e-05/0.3017, allocations: 10.62 kB / 0.5669 GB, free: 29.68 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3017, allocations: 0 / 0.5669 GB, free: 29.68 MB / 446.1 MB Notification: Performance of Templates: time 0.003248/0.3049, allocations: 1.103 MB / 0.568 GB, free: 29.59 MB / 446.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.7335228198207915]