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) 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 201.2 kB / 18.73 MB, free: 4.324 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.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 79.88 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3386, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001439/0.34, allocations: 0.4918 MB / 0.5314 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.3417, allocations: 1.406 MB / 0.5328 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.3418, allocations: 3.938 kB / 0.5328 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.3418, allocations: 3.938 kB / 0.5328 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.361e-05/0.3418, allocations: 2.031 kB / 0.5328 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.3425, allocations: 218.9 kB / 0.533 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.67e-05/0.3425, allocations: 12.05 kB / 0.533 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.3426, allocations: 2.75 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.615e-05/0.3426, allocations: 1.375 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.05e-05/0.3427, allocations: 6.75 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.3427, allocations: 4 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004262/0.3431, allocations: 280.6 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.3431, allocations: 0 / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.3432, allocations: 9.297 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.3434, allocations: 142.2 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.3434, allocations: 0 / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3434, allocations: 1.375 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3434, allocations: 3.984 kB / 0.5335 GB, free: 11.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003631/0.3438, allocations: 334.5 kB / 0.5338 GB, free: 11.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3438, allocations: 17.56 kB / 0.5338 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.3439, allocations: 2.312 kB / 0.5338 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.427e-05/0.344, allocations: 160.4 kB / 0.534 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.344, allocations: 1.75 kB / 0.534 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.344, allocations: 1.75 kB / 0.534 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.3441, allocations: 47.44 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3441, allocations: 0 / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.3441, allocations: 0 / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3441, allocations: 1.375 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.957e-05/0.3442, allocations: 4.125 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.3445, allocations: 253.1 kB / 0.5343 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.771e-05/0.3446, allocations: 19.89 kB / 0.5343 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.3446, allocations: 6.234 kB / 0.5343 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.3446, allocations: 0 / 0.5343 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3446, allocations: 35.94 kB / 0.5343 GB, free: 10.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.3446, allocations: 4 kB / 0.5343 GB, free: 10.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.3448, allocations: 52.39 kB / 0.5344 GB, free: 10.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.3448, allocations: 51.41 kB / 0.5344 GB, free: 10.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.018e-05/0.3449, allocations: 92.61 kB / 0.5345 GB, free: 10.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.3449, allocations: 27.08 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.3449, allocations: 87.92 kB / 0.5346 GB, free: 10.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/0.345, allocations: 5.281 kB / 0.5346 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.345, allocations: 20.7 kB / 0.5347 GB, free: 10.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.3451, allocations: 320.2 kB / 0.535 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.3451, allocations: 2.75 kB / 0.535 GB, free: 10.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.3451, allocations: 21.33 kB / 0.535 GB, free: 9.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.3452, allocations: 24.02 kB / 0.535 GB, free: 9.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3452, allocations: 9.359 kB / 0.535 GB, free: 9.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.495e-05/0.3453, allocations: 46.02 kB / 0.5351 GB, free: 9.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.3453, allocations: 5.5 kB / 0.5351 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3453, allocations: 0 / 0.5351 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3453, allocations: 1.375 kB / 0.5351 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.241e-05/0.3454, allocations: 9.484 kB / 0.5351 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3454, allocations: 1.375 kB / 0.5351 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.3454, allocations: 1.375 kB / 0.5351 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3454, allocations: 1.375 kB / 0.5351 GB, free: 9.918 MB / 398.1 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 6.757e-05/0.3455, allocations: 119.2 kB / 0.5352 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.3455, allocations: 1.375 kB / 0.5352 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.698e-05/0.3456, allocations: 45 kB / 0.5352 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3456, allocations: 0 / 0.5352 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3456, allocations: 1.375 kB / 0.5352 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3456, allocations: 0 / 0.5352 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.3458, allocations: 158.9 kB / 0.5354 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3458, allocations: 5.359 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.3458, allocations: 0 / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.3458, allocations: 1.375 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3458, allocations: 0 / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3458, allocations: 9.25 kB / 0.5354 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3458, allocations: 0 / 0.5354 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.197e-05/0.3459, allocations: 135.5 kB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.3459, allocations: 85.12 kB / 0.5356 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.346, allocations: 1.344 kB / 0.5356 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-05/0.346, allocations: 1.344 kB / 0.5356 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.346, allocations: 4 kB / 0.5356 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.346, allocations: 1.344 kB / 0.5356 GB, free: 9.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.012e-05/0.3461, allocations: 77.97 kB / 0.5357 GB, free: 9.219 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3461, allocations: 0 / 0.5357 GB, free: 9.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.3464, allocations: 38.69 kB / 0.5357 GB, free: 9.215 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.0002649/0.3466, allocations: 141.6 kB / 0.5359 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.915e-05/0.3467, allocations: 11.75 kB / 0.5359 GB, free: 9.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3467, allocations: 0 / 0.5359 GB, free: 9.102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.3468, allocations: 32.16 kB / 0.5359 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.347, allocations: 6.656 kB / 0.5359 GB, free: 9.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001945/0.3472, allocations: 87.3 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.3474, allocations: 0.6755 MB / 0.5367 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.307e-05/0.3474, allocations: 5.75 kB / 0.5367 GB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.289e-05/0.3474, allocations: 8.656 kB / 0.5367 GB, free: 8.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3474, allocations: 0 / 0.5367 GB, free: 8.25 MB / 398.1 MB Notification: Performance of Templates: time 0.003127/0.3506, allocations: 1.085 MB / 0.5377 GB, free: 7.684 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches