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.001411/0.001411, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001554/0.001554, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9239/0.9239, allocations: 177 MB / 204.8 MB, free: 5.602 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.2415/0.2415, allocations: 34.87 MB / 296.3 MB, free: 0.5547 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.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.192e-06/1.192e-06, allocations: 0 / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.277e-05, allocations: 2.312 kB / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.004324/0.004347, allocations: 0.4983 MB / 379.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.006223, allocations: 1.405 MB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.006247, allocations: 3.938 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.006266, allocations: 0 / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.002e-05/0.006296, allocations: 7.938 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.00691, allocations: 212 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.51e-05/0.006955, allocations: 4 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003041/0.009997, allocations: 3.938 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.105e-05/0.01003, allocations: 4 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.01007, allocations: 4 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.01009, allocations: 0 / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.01051, allocations: 267.5 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.01052, allocations: 0 / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.01054, allocations: 3.984 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.01079, allocations: 191.6 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.01079, allocations: 0 / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01079, allocations: 0 / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.01079, allocations: 3.938 kB / 381.3 MB, free: 15.51 MB / 362.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.000313/0.01111, allocations: 364.2 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.01115, allocations: 16.03 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.01118, allocations: 9.219 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.932e-05/0.01126, allocations: 104.6 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.01127, allocations: 4.375 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.01128, allocations: 384 / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.961e-05/0.01137, allocations: 55.97 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.01138, allocations: 192 / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.01139, allocations: 384 / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.0114, allocations: 3.938 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.262e-05/0.01141, allocations: 0 / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.01152, allocations: 120.6 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.956e-05/0.01156, allocations: 27.09 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.01158, allocations: 15.67 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-06/0.01159, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.01161, allocations: 33.39 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.01161, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.01173, allocations: 45.62 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.01176, allocations: 59.28 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.407e-05/0.01183, allocations: 154.1 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.01184, allocations: 29.83 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.01188, allocations: 126.9 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.0119, allocations: 4 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.01193, allocations: 19.38 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.01206, allocations: 496.1 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.01208, allocations: 4 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-06/0.01208, allocations: 4 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.477e-05/0.01211, allocations: 7.688 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.01211, allocations: 4 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.769e-05/0.01217, allocations: 41.7 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01218, allocations: 6.656 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01219, allocations: 0 / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.0122, allocations: 4 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.01226, allocations: 0 / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.01227, allocations: 7.922 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.135e-05/0.01228, allocations: 3.953 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.01229, allocations: 4 kB / 383.1 MB, free: 13.57 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 6.865e-05/0.01236, allocations: 152.6 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.01237, allocations: 0 / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.01248, allocations: 48.88 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.01248, allocations: 0 / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.01249, allocations: 7.938 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01249, allocations: 0 / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.614e-05/0.01256, allocations: 104.6 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.01256, allocations: 3.938 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.01256, allocations: 4 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01257, allocations: 0 / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.01257, allocations: 4.031 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.01257, allocations: 0 / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01258, allocations: 3.984 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.02e-05/0.01265, allocations: 72.39 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-06/0.01265, allocations: 4 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.01266, allocations: 0 / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.01273, allocations: 3.984 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003497/0.01622, allocations: 7.938 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/0.01623, allocations: 7.938 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.146e-05/0.01627, allocations: 123.2 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01627, allocations: 0 / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002484/0.01652, allocations: 39.94 kB / 383.6 MB, free: 12.92 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.00023/0.01675, allocations: 147.1 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.273e-05/0.01682, allocations: 15.62 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.01683, allocations: 0 / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.065e-05/0.01686, allocations: 37.39 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.01699, allocations: 4 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.01719, allocations: 102.6 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.203e-05/0.01723, allocations: 55.3 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.493e-05/0.01724, allocations: 0 / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.501e-05/0.01726, allocations: 12.5 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01726, allocations: 0 / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Templates: time 0.005947/0.0232, allocations: 1.13 MB / 385.1 MB, free: 11.35 MB / 362.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.188359131105244]