Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.002374/0.002374, allocations: 87.62 kB / 20.96 MB, free: 3.312 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.002793/0.002793, allocations: 156.9 kB / 24.27 MB, free: 8 kB / 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 1.567/1.567, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3392/0.3392, allocations: 34.25 MB / 295.2 MB, free: 0.625 MB / 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.421e-05, allocations: 3.016 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001536/0.001561, allocations: 0.4934 MB / 377.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.003681, allocations: 1.378 MB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.003706, allocations: 0 / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.112e-05/0.003717, allocations: 0 / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.003756, allocations: 7.875 kB / 379.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006781/0.004434, allocations: 223.9 kB / 379.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.159e-05/0.004476, allocations: 4 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.004511, allocations: 4 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.398e-05/0.004545, allocations: 7.984 kB / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.499e-05/0.0046, allocations: 4 kB / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.004614, allocations: 0 / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004853/0.005099, allocations: 255.6 kB / 379.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.005115, allocations: 7.922 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.005135, allocations: 8 kB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.005462, allocations: 183.6 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005464, allocations: 8 kB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005465, allocations: 0 / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.005469, allocations: 0 / 379.8 MB, free: 344 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004589/0.005928, allocations: 368.1 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.005963, allocations: 8.031 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.006005, allocations: 4.938 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.006107, allocations: 108.6 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.006118, allocations: 384 / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.006129, allocations: 4.375 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.006258, allocations: 59.95 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.006266, allocations: 192 / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.006277, allocations: 8.375 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.006283, allocations: 3.938 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.458e-05/0.006318, allocations: 11.98 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.006726, allocations: 247.8 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.078e-05/0.006787, allocations: 23.06 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.006811, allocations: 11.75 kB / 380.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.006821, allocations: 0 / 380.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.006861, allocations: 41.33 kB / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.006862, allocations: 0 / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.000175/0.007037, allocations: 49.58 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.00708, allocations: 51.41 kB / 380.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.007211, allocations: 157.9 kB / 380.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.007234, allocations: 25.7 kB / 380.9 MB, free: 15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/0.007324, allocations: 134.8 kB / 381 MB, free: 14.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.33e-06/0.007329, allocations: 0 / 381 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.007371, allocations: 23.36 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002931/0.007664, allocations: 0.4884 MB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.007676, allocations: 0 / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.846e-05/0.007715, allocations: 27.06 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.007779, allocations: 47.23 kB / 381.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00778, allocations: 0 / 381.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.364e-05/0.007864, allocations: 49.58 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.007891, allocations: 8 kB / 381.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.007896, allocations: 0 / 381.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.007908, allocations: 0 / 381.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/0.007958, allocations: 7.984 kB / 381.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.007967, allocations: 4.094 kB / 381.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.007988, allocations: 11.89 kB / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.007993, allocations: 0 / 381.7 MB, free: 14.15 MB / 362.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 0.0001126/0.008106, allocations: 160.5 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.008134, allocations: 3.938 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.008254, allocations: 48.92 kB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008256, allocations: 0 / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.008262, allocations: 4 kB / 381.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.008264, allocations: 4.031 kB / 381.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.008412, allocations: 104.6 kB / 382 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.008419, allocations: 4 kB / 382 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-06/0.008422, allocations: 4 kB / 382 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.008423, allocations: 0 / 382 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.008433, allocations: 7.922 kB / 382 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.008434, allocations: 0 / 382 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008435, allocations: 0 / 382 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.008586, allocations: 183.9 kB / 382.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.008594, allocations: 4 kB / 382.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.008605, allocations: 7.969 kB / 382.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.515e-05/0.00866, allocations: 3.984 kB / 382.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.008676, allocations: 0 / 382.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.008683, allocations: 4 kB / 382.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.802e-05/0.008751, allocations: 119.2 kB / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008751, allocations: 3.938 kB / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002879/0.009039, allocations: 43.94 kB / 382.4 MB, free: 13.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.0003076/0.009346, allocations: 139.2 kB / 382.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.26e-05/0.009439, allocations: 27.78 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.009441, allocations: 0 / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.986e-05/0.009491, allocations: 41.38 kB / 382.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.009685, allocations: 0 / 382.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.009927, allocations: 102.4 kB / 382.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.576e-05/0.009993, allocations: 59.34 kB / 382.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.975e-05/0.01001, allocations: 0 / 382.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.01003, allocations: 8.5 kB / 382.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01003, allocations: 4.188 kB / 382.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of Templates: time 0.004106/0.01414, allocations: 1.125 MB / 383.9 MB, free: 11.81 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.80919191101566]