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.001052/0.001052, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001566/0.001566, allocations: 162.9 kB / 25.61 MB, free: 8.922 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.9152/0.9152, allocations: 177 MB / 205.9 MB, free: 4.426 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.1466/0.1466, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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.272e-06/1.272e-06, allocations: 3.938 kB / 380 MB, free: 22.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.639e-05, allocations: 5.688 kB / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001158/0.001175, allocations: 0.5028 MB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.002472, allocations: 1.385 MB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.002501, allocations: 0 / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.002518, allocations: 3.938 kB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.382e-05/0.002552, allocations: 4 kB / 381.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.003089, allocations: 215.9 kB / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 3.836e-05/0.003127, allocations: 4 kB / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.003161, allocations: 7.984 kB / 382.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.409e-05/0.003186, allocations: 7.938 kB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.235e-05/0.003228, allocations: 0 / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.003238, allocations: 3.938 kB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.003546, allocations: 259.6 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.003558, allocations: 0 / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.157e-05/0.003569, allocations: 3.984 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.003753, allocations: 195.5 kB / 382.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003755, allocations: 0 / 382.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003756, allocations: 0 / 382.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.003759, allocations: 4 kB / 382.6 MB, free: 20.18 MB / 314.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.0002259/0.003985, allocations: 364.2 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.004012, allocations: 12.03 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.004036, allocations: 4.875 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.214e-05/0.004088, allocations: 112.9 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.004097, allocations: 384 / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-06/0.004103, allocations: 4.375 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.286e-05/0.004156, allocations: 51.97 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.004163, allocations: 4.188 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-06/0.004168, allocations: 384 / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.004173, allocations: 7.938 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.588e-06/0.004182, allocations: 7.922 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.164e-05/0.004244, allocations: 101.2 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.61e-05/0.00427, allocations: 23.06 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.078e-05/0.004281, allocations: 15.78 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-06/0.004285, allocations: 0 / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.004299, allocations: 33.39 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.004299, allocations: 0 / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 7.749e-05/0.004377, allocations: 37.64 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.404e-05/0.004391, allocations: 51.53 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.317e-05/0.004424, allocations: 165.9 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.06e-06/0.004429, allocations: 25.7 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.173e-05/0.004441, allocations: 126.9 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.004457, allocations: 0 / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.004478, allocations: 19.38 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.254e-05/0.004511, allocations: 496.1 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-06/0.004515, allocations: 0 / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-06/0.004521, allocations: 7.984 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.669e-05/0.004538, allocations: 11.88 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.004539, allocations: 4 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.447e-05/0.004573, allocations: 37.64 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.004582, allocations: 4 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.004586, allocations: 0 / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.004593, allocations: 0 / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.467e-05/0.004628, allocations: 4 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.00463, allocations: 0 / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.005e-05/0.00464, allocations: 3.938 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.004645, allocations: 0 / 384.3 MB, free: 18.28 MB / 314.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 3.169e-05/0.004676, allocations: 160.6 kB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-06/0.004683, allocations: 7.938 kB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.004756, allocations: 48.75 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.004757, allocations: 0 / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004759, allocations: 4 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.004762, allocations: 7.922 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.195e-05/0.004804, allocations: 93.27 kB / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.004807, allocations: 0 / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.004808, allocations: 4.031 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.004809, allocations: 0 / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-06/0.004812, allocations: 0 / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.004813, allocations: 4 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.004814, allocations: 0 / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.695e-05/0.00485, allocations: 72.38 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-06/0.004854, allocations: 0 / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-06/0.004861, allocations: 0 / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.035e-05/0.004901, allocations: 4 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-06/0.00491, allocations: 4 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.004913, allocations: 7.969 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.329e-05/0.004926, allocations: 127.2 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004926, allocations: 0 / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.005137, allocations: 35.94 kB / 384.8 MB, free: 17.65 MB / 314.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.0001717/0.005309, allocations: 147.1 kB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.819e-05/0.005357, allocations: 15.62 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005358, allocations: 0 / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.736e-05/0.005375, allocations: 37.39 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.005494, allocations: 10.09 kB / 385 MB, free: 17.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001136/0.005608, allocations: 92.33 kB / 385.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.464e-05/0.005622, allocations: 55.22 kB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.461e-05/0.005637, allocations: 4 kB / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.005667, allocations: 74.2 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of SimCode: time 3.7e-07/0.005667, allocations: 0 / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of Templates: time 0.002531/0.008198, allocations: 1.259 MB / 386.5 MB, free: 15.89 MB / 314.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 -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: 3.12911670608446]