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.0008579/0.0008579, 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.0009175/0.0009175, allocations: 160.9 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.9042/0.9042, allocations: 177 MB / 205.2 MB, free: 5.055 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.2365/0.2365, allocations: 34.86 MB / 296.6 MB, free: 412 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.152e-06/1.152e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.441e-05, allocations: 6.312 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0009477/0.0009621, allocations: 0.4934 MB / 326.4 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.002209, allocations: 1.397 MB / 327.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.002229, allocations: 0 / 327.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.107e-05/0.00224, allocations: 0 / 327.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.405e-05/0.002264, allocations: 0 / 327.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.002715, allocations: 215.9 kB / 328 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.008e-05/0.002755, allocations: 8.609 kB / 328 MB, free: 5.035 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.953e-05/0.002784, allocations: 0 / 328 MB, free: 5.035 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.751e-05/0.002812, allocations: 11.94 kB / 328 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.093e-05/0.002853, allocations: 3.984 kB / 328 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.002864, allocations: 4 kB / 328 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.00315, allocations: 255.6 kB / 328.3 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.003161, allocations: 4 kB / 328.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.036e-05/0.003172, allocations: 0 / 328.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.003357, allocations: 195.5 kB / 328.5 MB, free: 4.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.003359, allocations: 4 kB / 328.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00336, allocations: 0 / 328.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.003362, allocations: 0 / 328.5 MB, free: 4.566 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.0002121/0.003575, allocations: 237.9 kB / 328.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.003604, allocations: 12.03 kB / 328.7 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.022e-05/0.003624, allocations: 4.922 kB / 328.7 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.952e-05/0.003684, allocations: 114.1 kB / 328.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.003691, allocations: 384 / 328.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.003699, allocations: 384 / 328.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.139e-05/0.00376, allocations: 59.95 kB / 328.9 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-06/0.003764, allocations: 4.125 kB / 328.9 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-06/0.003771, allocations: 4.375 kB / 328.9 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.003775, allocations: 3.938 kB / 328.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.692e-06/0.003782, allocations: 0 / 328.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.708e-05/0.003839, allocations: 65 kB / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.732e-05/0.003866, allocations: 14.58 kB / 329 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.919e-06/0.003876, allocations: 12.95 kB / 329 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-06/0.00388, allocations: 0 / 329 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.003898, allocations: 34.55 kB / 329 MB, free: 3.918 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.003898, allocations: 0 / 329 MB, free: 3.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 6.702e-05/0.003965, allocations: 33.64 kB / 329.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.003986, allocations: 51.41 kB / 329.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.439e-05/0.00403, allocations: 98.72 kB / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.004041, allocations: 25.7 kB / 329.2 MB, free: 3.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.86e-05/0.00406, allocations: 88.38 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.004078, allocations: 7.984 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.004095, allocations: 13.72 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.004159, allocations: 322.8 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.004163, allocations: 0 / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-06/0.004168, allocations: 0 / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.689e-05/0.004185, allocations: 12.8 kB / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.004186, allocations: 0 / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.975e-05/0.004216, allocations: 33.69 kB / 329.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.004225, allocations: 5.406 kB / 329.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.004228, allocations: 4.094 kB / 329.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.004236, allocations: 0 / 329.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.126e-05/0.004277, allocations: 4 kB / 329.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-06/0.004279, allocations: 0 / 329.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-06/0.004287, allocations: 3.938 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.004292, allocations: 0 / 329.7 MB, free: 3.164 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.072e-05/0.004332, allocations: 109.8 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-06/0.004336, allocations: 0 / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.876e-05/0.004405, allocations: 52.72 kB / 329.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.004406, allocations: 0 / 329.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.004408, allocations: 0 / 329.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.00441, allocations: 4 kB / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.306e-05/0.004453, allocations: 66.58 kB / 329.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.004456, allocations: 0 / 329.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.004456, allocations: 0 / 329.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.004457, allocations: 4 kB / 330 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-06/0.00446, allocations: 0 / 330 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.00446, allocations: 0 / 330 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.31e-07/0.00446, allocations: 4.031 kB / 330 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.963e-05/0.0045, allocations: 72.98 kB / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-06/0.004504, allocations: 0 / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-06/0.00451, allocations: 0 / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.004547, allocations: 4 kB / 330 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-06/0.004555, allocations: 0 / 330 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.004558, allocations: 0 / 330 MB, free: 2.805 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.047e-06/0.004567, allocations: 8.859 kB / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004567, allocations: 0 / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.0047, allocations: 39.92 kB / 330.1 MB, free: 2.754 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.0001633/0.004863, allocations: 128.5 kB / 330.2 MB, free: 2.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.361e-05/0.004907, allocations: 16.83 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.004909, allocations: 0 / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.173e-05/0.004931, allocations: 30.56 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.903e-05/0.00499, allocations: 15.88 kB / 330.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001288/0.005119, allocations: 93.58 kB / 330.4 MB, free: 2.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.305e-05/0.005142, allocations: 55.36 kB / 330.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.255e-05/0.005154, allocations: 4.125 kB / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.005189, allocations: 51.38 kB / 330.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.005189, allocations: 0 / 330.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of Templates: time 0.002292/0.007481, allocations: 1.252 MB / 331.7 MB, free: 1.055 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 -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.652804606128484]