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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001511/0.001511, allocations: 108.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00179/0.00179, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1996/0.1996, allocations: 46.11 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001517, allocations: 75.88 kB / 417 MB, free: 7.426 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1194, allocations: 62.43 MB / 479.5 MB, free: 8.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001919/0.1213, allocations: 0.5514 MB / 480 MB, free: 8.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1232, allocations: 1.409 MB / 481.4 MB, free: 6.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.1232, allocations: 4 kB / 481.4 MB, free: 6.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.07e-05/0.1233, allocations: 0 / 481.4 MB, free: 6.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.834e-05/0.1233, allocations: 0 / 481.4 MB, free: 6.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.1241, allocations: 206.6 kB / 481.6 MB, free: 6.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.116e-05/0.1241, allocations: 15.94 kB / 481.7 MB, free: 6.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.1242, allocations: 0 / 481.7 MB, free: 6.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.029e-05/0.1242, allocations: 4 kB / 481.7 MB, free: 6.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.1243, allocations: 7.969 kB / 481.7 MB, free: 6.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.1243, allocations: 0 / 481.7 MB, free: 6.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.1247, allocations: 275.6 kB / 481.9 MB, free: 6.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.1247, allocations: 11.98 kB / 482 MB, free: 6.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.1248, allocations: 7.938 kB / 482 MB, free: 6.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.125, allocations: 139.7 kB / 482.1 MB, free: 6.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.125, allocations: 0 / 482.1 MB, free: 6.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.125, allocations: 0 / 482.1 MB, free: 6.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.125, allocations: 4 kB / 482.1 MB, free: 6.293 MB / 398.1 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.0003374/0.1253, allocations: 335.5 kB / 482.4 MB, free: 5.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1254, allocations: 12.03 kB / 482.4 MB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.1254, allocations: 0.9375 kB / 482.4 MB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1255, allocations: 168.4 kB / 482.6 MB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.1255, allocations: 384 / 482.6 MB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.1256, allocations: 4.375 kB / 482.6 MB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.93e-05/0.1257, allocations: 33.95 kB / 482.6 MB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.1257, allocations: 0 / 482.6 MB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1257, allocations: 0 / 482.6 MB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1257, allocations: 4 kB / 482.6 MB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.909e-05/0.1257, allocations: 0 / 482.6 MB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.1259, allocations: 153.7 kB / 482.8 MB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.873e-05/0.1259, allocations: 18.58 kB / 482.8 MB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.1259, allocations: 8.922 kB / 482.8 MB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.126, allocations: 0 / 482.8 MB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.126, allocations: 42.44 kB / 482.9 MB, free: 5.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.126, allocations: 3.938 kB / 482.9 MB, free: 5.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.1261, allocations: 37.69 kB / 482.9 MB, free: 5.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.1262, allocations: 55.53 kB / 483 MB, free: 5.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.1262, allocations: 93.86 kB / 483.1 MB, free: 5.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1263, allocations: 29.64 kB / 483.1 MB, free: 5.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.1263, allocations: 84.14 kB / 483.2 MB, free: 5.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.1263, allocations: 3.906 kB / 483.2 MB, free: 5.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.1264, allocations: 17.7 kB / 483.2 MB, free: 5.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1265, allocations: 310.8 kB / 483.5 MB, free: 4.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.1265, allocations: 0 / 483.5 MB, free: 4.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-06/0.1265, allocations: 8.062 kB / 483.5 MB, free: 4.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.1265, allocations: 12.86 kB / 483.5 MB, free: 4.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1265, allocations: 0 / 483.5 MB, free: 4.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.522e-05/0.1266, allocations: 33.7 kB / 483.5 MB, free: 4.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1266, allocations: 7.938 kB / 483.5 MB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1266, allocations: 0 / 483.5 MB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1266, allocations: 7.984 kB / 483.6 MB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.517e-05/0.1267, allocations: 0 / 483.6 MB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1267, allocations: 0 / 483.6 MB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.484e-05/0.1267, allocations: 8.375 kB / 483.6 MB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1268, allocations: 0 / 483.6 MB, free: 4.605 MB / 398.1 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.201e-05/0.1268, allocations: 109.8 kB / 483.7 MB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.1268, allocations: 3.938 kB / 483.7 MB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.127, allocations: 52.69 kB / 483.7 MB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.127, allocations: 4.031 kB / 483.7 MB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.127, allocations: 0 / 483.7 MB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.127, allocations: 7.984 kB / 483.7 MB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.337e-05/0.1271, allocations: 145.7 kB / 483.9 MB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1271, allocations: 0 / 483.9 MB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.1271, allocations: 0 / 483.9 MB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.1271, allocations: 7.938 kB / 483.9 MB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1271, allocations: 0 / 483.9 MB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1271, allocations: 0 / 483.9 MB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1271, allocations: 0 / 483.9 MB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.2e-05/0.1272, allocations: 69.06 kB / 484 MB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.1273, allocations: 81.05 kB / 484 MB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.1273, allocations: 3.938 kB / 484 MB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.1274, allocations: 4 kB / 484 MB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.1274, allocations: 0 / 484 MB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.1274, allocations: 0 / 484 MB, free: 4.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.196e-05/0.1274, allocations: 83.28 kB / 484.1 MB, free: 3.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1274, allocations: 4.125 kB / 484.1 MB, free: 3.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1277, allocations: 39.98 kB / 484.2 MB, free: 3.902 MB / 398.1 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.0002571/0.128, allocations: 131.2 kB / 484.3 MB, free: 3.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.476e-05/0.1281, allocations: 7.984 kB / 484.3 MB, free: 3.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1281, allocations: 4 kB / 484.3 MB, free: 3.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.1281, allocations: 37.58 kB / 484.3 MB, free: 3.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.1283, allocations: 10.28 kB / 484.4 MB, free: 3.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.1285, allocations: 89.11 kB / 484.4 MB, free: 3.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.1287, allocations: 0.6768 MB / 485.1 MB, free: 2.887 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.789e-05/0.1287, allocations: 0 / 485.1 MB, free: 2.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.1288, allocations: 7.438 kB / 485.1 MB, free: 2.879 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1288, allocations: 0 / 485.1 MB, free: 2.879 MB / 398.1 MB Notification: Performance of Templates: time 0.003365/0.1321, allocations: 1.097 MB / 486.2 MB, free: 1.781 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches