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.001342/0.001342, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001688/0.001688, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.971/0.971, allocations: 177 MB / 205.1 MB, free: 5.465 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.2442/0.2442, allocations: 34.86 MB / 296.6 MB, free: 0.5 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.112e-06/1.112e-06, allocations: 0 / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.398e-05, allocations: 7.234 kB / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0008473/0.0008613, allocations: 0.5019 MB / 379.7 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.002045, allocations: 1.397 MB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.002068, allocations: 4 kB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.002084, allocations: 0 / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.278e-05/0.002107, allocations: 0 / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.002538, allocations: 215.9 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.337e-05/0.002571, allocations: 4 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.783e-05/0.002599, allocations: 3.984 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.596e-05/0.002625, allocations: 4 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.001e-05/0.002665, allocations: 3.984 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.002675, allocations: 4 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.002958, allocations: 263.6 kB / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.002968, allocations: 0 / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.041e-05/0.002978, allocations: 3.984 kB / 381.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.003155, allocations: 195.5 kB / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.003157, allocations: 0 / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.003157, allocations: 0 / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.00316, allocations: 0 / 381.8 MB, free: 15.22 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002345/0.003395, allocations: 368.2 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.003423, allocations: 8.031 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.807e-05/0.003441, allocations: 0.9375 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.843e-05/0.00349, allocations: 116.6 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.003498, allocations: 384 / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-06/0.003503, allocations: 384 / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.05e-05/0.003573, allocations: 67.91 kB / 382.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.00358, allocations: 4.172 kB / 382.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.003586, allocations: 384 / 382.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.003591, allocations: 3.938 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.155e-05/0.003603, allocations: 4 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.003801, allocations: 232.7 kB / 382.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.716e-05/0.003828, allocations: 23.06 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.121e-05/0.00384, allocations: 19.69 kB / 382.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-06/0.003845, allocations: 0 / 382.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.003863, allocations: 41.36 kB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.003864, allocations: 0 / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 7.926e-05/0.003943, allocations: 37.64 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.003961, allocations: 51.41 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.755e-05/0.004019, allocations: 153.9 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.004027, allocations: 29.7 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.004065, allocations: 134.8 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-06/0.004068, allocations: 256 / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.00409, allocations: 27.36 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.004185, allocations: 492.1 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-06/0.00419, allocations: 7.938 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.87e-05/0.004209, allocations: 31.05 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.585e-05/0.004235, allocations: 31.06 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004237, allocations: 0 / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.032e-05/0.004277, allocations: 45.59 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.004287, allocations: 19.97 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.004292, allocations: 3.984 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.004302, allocations: 3.984 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.978e-05/0.004331, allocations: 8 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.004333, allocations: 0 / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.042e-05/0.004344, allocations: 3.938 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.004348, allocations: 4.094 kB / 383.7 MB, free: 13.07 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 4.975e-05/0.004398, allocations: 156.6 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.004409, allocations: 3.984 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.185e-05/0.004481, allocations: 52.78 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.004482, allocations: 3.938 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.004484, allocations: 4 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.004486, allocations: 0 / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.313e-05/0.004559, allocations: 89.27 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.004562, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-07/0.004562, allocations: 4 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.82e-07/0.004563, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.004567, allocations: 7.984 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004568, allocations: 4.031 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.004569, allocations: 3.938 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.167e-05/0.004631, allocations: 179.9 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.004636, allocations: 7.938 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-06/0.004641, allocations: 0 / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.968e-05/0.004671, allocations: 3.984 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-06/0.004679, allocations: 3.938 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.004683, allocations: 4 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.611e-05/0.004709, allocations: 119.2 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004709, allocations: 128 / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.004877, allocations: 47.88 kB / 384.4 MB, free: 12.32 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.0001688/0.005045, allocations: 143.2 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.455e-05/0.00509, allocations: 11.69 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.005091, allocations: 0 / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.263e-05/0.005114, allocations: 45.38 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.00524, allocations: 4 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001287/0.005369, allocations: 102.3 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.525e-05/0.005394, allocations: 59.61 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.502e-05/0.005409, allocations: 3.984 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.005444, allocations: 74.2 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.005444, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of Templates: time 0.00214/0.007584, allocations: 1.258 MB / 386.1 MB, free: 10.56 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","",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.9167159940116107]