Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001404/0.001404, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001674/0.001674, allocations: 161.4 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9863/0.9863, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 325.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.213e-05, allocations: 3.297 kB / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001241/0.001263, allocations: 0.5432 MB / 326.5 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.002798, allocations: 1.394 MB / 327.9 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.002822, allocations: 4 kB / 327.9 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.002841, allocations: 3.938 kB / 327.9 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.074e-05/0.002872, allocations: 0 / 327.9 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.003307, allocations: 167.5 kB / 328 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.434e-05/0.003351, allocations: 8.562 kB / 328.1 MB, free: 4.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.003389, allocations: 4 kB / 328.1 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.003424, allocations: 7.984 kB / 328.1 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.003471, allocations: 4 kB / 328.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.003482, allocations: 0 / 328.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.003894, allocations: 304 kB / 328.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.003908, allocations: 7.984 kB / 328.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.198e-05/0.00392, allocations: 0 / 328.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.004108, allocations: 199.4 kB / 328.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.00411, allocations: 0 / 328.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.004112, allocations: 0 / 328.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004116, allocations: 0 / 328.6 MB, free: 4.473 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002587/0.004374, allocations: 237.9 kB / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.004407, allocations: 12.03 kB / 328.8 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.004431, allocations: 4.938 kB / 328.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.684e-05/0.004508, allocations: 110.1 kB / 328.9 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.004519, allocations: 4.359 kB / 328.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.004525, allocations: 384 / 328.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.824e-05/0.004604, allocations: 55.97 kB / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.004611, allocations: 192 / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.004617, allocations: 384 / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.004623, allocations: 3.938 kB / 329 MB, free: 3.996 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.108e-05/0.004634, allocations: 3.938 kB / 329 MB, free: 3.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.977e-05/0.004704, allocations: 69 kB / 329.1 MB, free: 3.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.558e-05/0.00474, allocations: 18.56 kB / 329.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.004752, allocations: 12.94 kB / 329.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-06/0.004757, allocations: 0 / 329.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.004777, allocations: 30.56 kB / 329.1 MB, free: 3.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.004778, allocations: 0 / 329.1 MB, free: 3.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 8.004e-05/0.004858, allocations: 33.64 kB / 329.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.004881, allocations: 55.41 kB / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.02e-05/0.004931, allocations: 102.7 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.004939, allocations: 25.95 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.835e-05/0.004957, allocations: 88.14 kB / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.004977, allocations: 0 / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.004999, allocations: 13.72 kB / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.005069, allocations: 322.8 kB / 329.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.12e-06/0.005074, allocations: 0 / 329.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-06/0.005079, allocations: 0 / 329.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.039e-05/0.0051, allocations: 12.84 kB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005101, allocations: 0 / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.991e-05/0.005141, allocations: 33.64 kB / 329.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.005151, allocations: 8.094 kB / 329.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.005156, allocations: 3.938 kB / 329.8 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.005166, allocations: 0 / 329.8 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.874e-05/0.005215, allocations: 4 kB / 329.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.005217, allocations: 0 / 329.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-06/0.005226, allocations: 3.938 kB / 329.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.005232, allocations: 0 / 329.8 MB, free: 3.07 MB / 298.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 4.785e-05/0.00528, allocations: 113.8 kB / 329.9 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-06/0.005284, allocations: 0 / 329.9 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.497e-05/0.005369, allocations: 44.8 kB / 330 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.005372, allocations: 3.984 kB / 330 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.005373, allocations: 4 kB / 330 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.005376, allocations: 0 / 330 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.606e-05/0.005422, allocations: 66.58 kB / 330 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.005425, allocations: 0 / 330 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.005426, allocations: 4 kB / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.005427, allocations: 0 / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.005431, allocations: 4 kB / 330 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005432, allocations: 4.031 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.005433, allocations: 0 / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.683e-05/0.00548, allocations: 61.06 kB / 330.1 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-06/0.005484, allocations: 0 / 330.1 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-06/0.00549, allocations: 0 / 330.1 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.919e-05/0.005539, allocations: 4 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.037e-05/0.00555, allocations: 3.984 kB / 330.1 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.005553, allocations: 0 / 330.1 MB, free: 2.715 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.638e-06/0.005563, allocations: 8.859 kB / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005563, allocations: 8.062 kB / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.00571, allocations: 35.94 kB / 330.2 MB, free: 2.66 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.0001934/0.005903, allocations: 132.3 kB / 330.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.001e-05/0.005953, allocations: 8.859 kB / 330.3 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.005956, allocations: 0 / 330.3 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.243e-05/0.005978, allocations: 34.56 kB / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.88e-05/0.006047, allocations: 9.031 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001531/0.0062, allocations: 89.64 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.538e-05/0.006226, allocations: 59.48 kB / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.432e-05/0.00624, allocations: 3.938 kB / 330.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.006279, allocations: 51.38 kB / 330.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.006279, allocations: 0 / 330.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of Templates: time 0.00274/0.009019, allocations: 1.259 MB / 331.8 MB, free: 0.9609 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.7708956142887473]