Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001089/0.001089, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001086/0.001086, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9325/0.9325, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2361/0.2361, allocations: 32.81 MB / 294.3 MB, free: 1.262 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.012e-05, allocations: 6.25 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.004435/0.004465, allocations: 0.5125 MB / 376.5 MB, free: 4.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00417/0.008636, allocations: 1.393 MB / 377.9 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.008662, allocations: 0 / 377.9 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/0.008696, allocations: 3.938 kB / 377.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.048e-05/0.008727, allocations: 0 / 377.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009827/0.009709, allocations: 216 kB / 378.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.009879, allocations: 8 kB / 378.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.009926, allocations: 0 / 378.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.009957, allocations: 7.984 kB / 378.1 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.01, allocations: 4 kB / 378.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.01002, allocations: 0 / 378.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.01124, allocations: 271.5 kB / 378.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.01125, allocations: 0 / 378.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.01127, allocations: 0 / 378.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000708/0.01198, allocations: 199.5 kB / 378.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01198, allocations: 0 / 378.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01198, allocations: 0 / 378.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.01199, allocations: 0 / 378.6 MB, free: 2.043 MB / 346.7 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.0007948/0.01278, allocations: 360.2 kB / 378.9 MB, free: 1.656 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.01282, allocations: 16.03 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.01287, allocations: 9.234 kB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.35e-05/0.01295, allocations: 108.6 kB / 379.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.01296, allocations: 384 / 379.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.01297, allocations: 4.375 kB / 379.1 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.01308, allocations: 51.97 kB / 379.1 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.01309, allocations: 4.188 kB / 379.1 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.0131, allocations: 384 / 379.1 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.01311, allocations: 3.938 kB / 379.1 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.378e-05/0.01312, allocations: 3.938 kB / 379.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001073/0.01323, allocations: 120.6 kB / 379.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.011e-05/0.01327, allocations: 23.06 kB / 379.3 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.01329, allocations: 11.78 kB / 379.3 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.01329, allocations: 0 / 379.3 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.01332, allocations: 37.33 kB / 379.3 MB, free: 1.172 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.01332, allocations: 0 / 379.3 MB, free: 1.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001199/0.01344, allocations: 37.64 kB / 379.4 MB, free: 1.129 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.01347, allocations: 55.34 kB / 379.4 MB, free: 1.062 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.01356, allocations: 161.9 kB / 379.6 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.01357, allocations: 25.95 kB / 379.6 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.0136, allocations: 130.9 kB / 379.7 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.01362, allocations: 0 / 379.7 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.01365, allocations: 19.38 kB / 379.8 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.01376, allocations: 496.1 kB / 380.2 MB, free: 204 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.01377, allocations: 0 / 380.2 MB, free: 204 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.01378, allocations: 4 kB / 380.2 MB, free: 200 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.0138, allocations: 11.67 kB / 380.3 MB, free: 184 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01381, allocations: 0 / 380.3 MB, free: 184 kB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.106e-05/0.01386, allocations: 37.64 kB / 380.3 MB, free: 140 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.01387, allocations: 8.094 kB / 380.3 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.01387, allocations: 0 / 380.3 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01389, allocations: 4 kB / 380.3 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.01395, allocations: 3.984 kB / 380.3 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.01395, allocations: 3.938 kB / 380.3 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.129e-05/0.01397, allocations: 3.953 kB / 380.3 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.01397, allocations: 0 / 380.3 MB, free: 116 kB / 346.7 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 0.003147/0.01712, allocations: 164.6 kB / 380.5 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.01713, allocations: 0 / 380.5 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.01724, allocations: 44.8 kB / 380.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01724, allocations: 0 / 380.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01725, allocations: 7.922 kB / 380.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01725, allocations: 4 kB / 380.5 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.195e-05/0.01731, allocations: 108.6 kB / 380.6 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.01732, allocations: 0 / 380.6 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-06/0.01732, allocations: 8 kB / 380.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01732, allocations: 0 / 380.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.01733, allocations: 32 / 380.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01733, allocations: 4 kB / 380.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01733, allocations: 0 / 380.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.693e-05/0.01739, allocations: 72.38 kB / 380.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.01739, allocations: 7.938 kB / 380.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.0174, allocations: 0 / 380.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-05/0.01747, allocations: 0 / 380.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.01748, allocations: 0 / 380.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.01749, allocations: 11.92 kB / 380.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.01752, allocations: 127.1 kB / 380.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01752, allocations: 4.125 kB / 380.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.01776, allocations: 39.94 kB / 380.9 MB, free: 15.45 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.0002322/0.01799, allocations: 143.2 kB / 381 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.104e-05/0.01806, allocations: 11.69 kB / 381.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01806, allocations: 0 / 381.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.737e-05/0.01809, allocations: 37.39 kB / 381.1 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.01823, allocations: 0 / 381.1 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001977/0.01843, allocations: 102.4 kB / 381.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.01846, allocations: 59.42 kB / 381.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.518e-05/0.01847, allocations: 4 kB / 381.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/0.01849, allocations: 8.5 kB / 381.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01849, allocations: 0 / 381.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Templates: time 0.006101/0.02459, allocations: 1.242 MB / 382.5 MB, free: 13.78 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.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: 2.911889757029712]