Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.0009571/0.0009571, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009959/0.0009959, allocations: 171.5 kB / 24.91 MB, free: 8.77 MB / 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.9636/0.9636, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2481/0.2481, allocations: 34.26 MB / 296.1 MB, free: 0.6602 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_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_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.759e-05, allocations: 3.188 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001526/0.001543, allocations: 0.5505 MB / 325.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.003396, allocations: 1.393 MB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.003421, allocations: 4 kB / 327.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.303e-05/0.003434, allocations: 0 / 327.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.609e-05/0.003461, allocations: 0 / 327.2 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.004002, allocations: 167.5 kB / 327.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.004053, allocations: 15.92 kB / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.327e-05/0.004086, allocations: 0 / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.442e-05/0.004121, allocations: 4 kB / 327.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.004169, allocations: 7.984 kB / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.004181, allocations: 0 / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005567/0.004738, allocations: 300.1 kB / 327.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.004751, allocations: 8 kB / 327.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.38e-05/0.004765, allocations: 4.625 kB / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.005026, allocations: 195.5 kB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005028, allocations: 0 / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005029, allocations: 0 / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.005032, allocations: 3.938 kB / 327.9 MB, free: 4.973 MB / 298.7 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.0002469/0.005279, allocations: 236.5 kB / 328.1 MB, free: 4.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.00531, allocations: 8.031 kB / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.005338, allocations: 4.938 kB / 328.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.205e-05/0.00541, allocations: 101.8 kB / 328.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.005419, allocations: 384 / 328.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.005429, allocations: 8.375 kB / 328.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.843e-05/0.005527, allocations: 63.95 kB / 328.3 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.005535, allocations: 4.125 kB / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.005542, allocations: 384 / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.005548, allocations: 3.938 kB / 328.3 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.574e-05/0.005563, allocations: 4 kB / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.005775, allocations: 145.7 kB / 328.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.708e-05/0.005822, allocations: 26.59 kB / 328.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.055e-05/0.005832, allocations: 4.859 kB / 328.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-06/0.005837, allocations: 4 kB / 328.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.005861, allocations: 38.56 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.005862, allocations: 0 / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 9.409e-05/0.005956, allocations: 33.64 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.005982, allocations: 51.41 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.714e-05/0.00604, allocations: 107 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.00605, allocations: 25.7 kB / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.006084, allocations: 80.14 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-06/0.00609, allocations: 7.891 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.006122, allocations: 25.95 kB / 328.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.006244, allocations: 318.8 kB / 329.2 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-06/0.006252, allocations: 3.984 kB / 329.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/0.006273, allocations: 26.5 kB / 329.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.82e-05/0.006301, allocations: 18.58 kB / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.006303, allocations: 0 / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.266e-05/0.006366, allocations: 45.62 kB / 329.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.006377, allocations: 4 kB / 329.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.006382, allocations: 8.031 kB / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.006393, allocations: 4 kB / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.874e-05/0.006432, allocations: 11.94 kB / 329.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.006436, allocations: 7.922 kB / 329.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.006453, allocations: 4 kB / 329.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.006458, allocations: 0 / 329.3 MB, free: 3.391 MB / 298.7 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 5.008e-05/0.006508, allocations: 105.8 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.006529, allocations: 4 kB / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.999e-05/0.006619, allocations: 48.78 kB / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.006622, allocations: 0 / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006623, allocations: 0 / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.006626, allocations: 0 / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.00673, allocations: 61.91 kB / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.006734, allocations: 0 / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.006735, allocations: 0 / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.006736, allocations: 3.938 kB / 329.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.006742, allocations: 8 kB / 329.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.006743, allocations: 0 / 329.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.006745, allocations: 7.969 kB / 329.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.75e-05/0.006813, allocations: 127.5 kB / 329.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.006819, allocations: 4 kB / 329.7 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.206e-06/0.006827, allocations: 0 / 329.7 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.006878, allocations: 0 / 329.7 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.006891, allocations: 7.922 kB / 329.7 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.006896, allocations: 4 kB / 329.7 MB, free: 2.969 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.588e-06/0.006905, allocations: 4.859 kB / 329.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006905, allocations: 0 / 329.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002735/0.007179, allocations: 39.94 kB / 329.7 MB, free: 2.922 MB / 298.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.0003004/0.007479, allocations: 132.4 kB / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.923e-05/0.007539, allocations: 17.28 kB / 329.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.007543, allocations: 0 / 329.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.743e-05/0.00757, allocations: 34.56 kB / 329.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.007716, allocations: 4.656 kB / 329.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001688/0.007885, allocations: 97.28 kB / 330 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.303e-05/0.007918, allocations: 51.36 kB / 330.1 MB, free: 2.523 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.315e-05/0.007941, allocations: 8.25 kB / 330.1 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.007984, allocations: 59.3 kB / 330.1 MB, free: 2.457 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007985, allocations: 3.938 kB / 330.1 MB, free: 2.453 MB / 298.7 MB Notification: Performance of Templates: time 0.003427/0.01141, allocations: 1.259 MB / 331.4 MB, free: 1.207 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.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.7731161192059517]