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.001425/0.001425, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001495/0.001495, allocations: 165.7 kB / 24.27 MB, free: 168 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 1.472/1.472, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3456/0.3456, allocations: 34.25 MB / 295.3 MB, free: 0.6836 MB / 266.7 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 2.344e-06/2.344e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.392e-05/3.627e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001512/0.001548, allocations: 0.4966 MB / 377.8 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.003674, allocations: 1.354 MB / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.003701, allocations: 0 / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.292e-05/0.003714, allocations: 0 / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.633e-05/0.00375, allocations: 7.938 kB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009952/0.004746, allocations: 223.8 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.597e-05/0.004792, allocations: 4 kB / 379.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.004834, allocations: 4 kB / 379.3 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.02e-05/0.004864, allocations: 4 kB / 379.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.53e-05/0.004929, allocations: 7.984 kB / 379.4 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.004947, allocations: 3.984 kB / 379.4 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004901/0.005438, allocations: 251.6 kB / 379.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.005452, allocations: 4 kB / 379.6 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.005477, allocations: 11.94 kB / 379.6 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.005813, allocations: 195.5 kB / 379.8 MB, free: 416 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005816, allocations: 0 / 379.8 MB, free: 416 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005817, allocations: 0 / 379.8 MB, free: 416 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005821, allocations: 0 / 379.8 MB, free: 416 kB / 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.0004324/0.006254, allocations: 266.2 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.006293, allocations: 8.031 kB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.006335, allocations: 0.9375 kB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.00647, allocations: 109.8 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.006483, allocations: 384 / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/0.006492, allocations: 384 / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.006629, allocations: 71.89 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.006638, allocations: 192 / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.006648, allocations: 384 / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.006655, allocations: 3.938 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.006674, allocations: 4 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.006836, allocations: 97.33 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.997e-05/0.006886, allocations: 18.58 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.006907, allocations: 8.953 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.00692, allocations: 3.984 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.006958, allocations: 30.56 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.006959, allocations: 7.938 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001519/0.00711, allocations: 33.7 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.00716, allocations: 55.34 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.007264, allocations: 97.86 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.007287, allocations: 25.7 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.007338, allocations: 84.12 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.007362, allocations: 0 / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.007396, allocations: 17.66 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.007572, allocations: 310.8 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.007585, allocations: 4.25 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-06/0.007594, allocations: 8 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.007624, allocations: 12.8 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.007625, allocations: 0 / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.821e-05/0.007693, allocations: 37.69 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.007707, allocations: 6.031 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.007722, allocations: 0 / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.007739, allocations: 0 / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.007799, allocations: 4 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.007806, allocations: 3.938 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.00782, allocations: 4.094 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.007826, allocations: 0 / 381.1 MB, free: 14.92 MB / 362.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 9.051e-05/0.007917, allocations: 109.8 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.007935, allocations: 7.953 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.00806, allocations: 48.78 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.008062, allocations: 0 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.008069, allocations: 3.938 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.008071, allocations: 4.031 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.008176, allocations: 105.3 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.008181, allocations: 0 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-07/0.008181, allocations: 0 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.008185, allocations: 4 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.008191, allocations: 0 / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.008192, allocations: 0 / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.008193, allocations: 0 / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.806e-05/0.008291, allocations: 61.02 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.008303, allocations: 11.97 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.008314, allocations: 4.031 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.008387, allocations: 0 / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.008409, allocations: 4 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.008416, allocations: 3.938 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.479e-05/0.008471, allocations: 79.28 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008471, allocations: 0 / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.008748, allocations: 43.92 kB / 381.6 MB, free: 14.38 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.0003172/0.009065, allocations: 147.1 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.448e-05/0.009149, allocations: 12.08 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.009151, allocations: 0 / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.104e-05/0.009192, allocations: 29.7 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.009349, allocations: 4 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.00961, allocations: 92.7 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.289e-05/0.009673, allocations: 63.28 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.396e-05/0.009687, allocations: 0 / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.009713, allocations: 12.5 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.009713, allocations: 128 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of Templates: time 0.00385/0.01356, allocations: 1.11 MB / 383.1 MB, free: 12.86 MB / 362.7 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/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_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.7279345620190725]