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.001754/0.001754, allocations: 115.5 kB / 18.45 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001997/0.001997, allocations: 210.8 kB / 19.41 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.12 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 75.86 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2832, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001492/0.2847, allocations: 0.4946 MB / 0.5322 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.2865, allocations: 1.418 MB / 0.5336 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.2865, allocations: 0 / 0.5336 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.2865, allocations: 4 kB / 0.5336 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.711e-05/0.2866, allocations: 0 / 0.5336 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006763/0.2872, allocations: 224.7 kB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.2873, allocations: 8.125 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.2874, allocations: 9.344 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.2874, allocations: 2.75 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.189e-05/0.2874, allocations: 1.375 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2874, allocations: 1.375 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005339/0.288, allocations: 287.2 kB / 0.5341 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.288, allocations: 1.375 kB / 0.5341 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.288, allocations: 9.312 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.2882, allocations: 141.7 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2883, allocations: 0 / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2883, allocations: 0 / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.2883, allocations: 0 / 0.5342 GB, free: 11.64 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.0004342/0.2887, allocations: 340.7 kB / 0.5345 GB, free: 11.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.2887, allocations: 8.25 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.2888, allocations: 2.312 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.2889, allocations: 165.8 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.2889, allocations: 4.375 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.2889, allocations: 1.75 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.961e-05/0.289, allocations: 36.77 kB / 0.5348 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.289, allocations: 0 / 0.5348 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.289, allocations: 1.375 kB / 0.5348 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.289, allocations: 0 / 0.5348 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.181e-05/0.289, allocations: 6.688 kB / 0.5348 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.2892, allocations: 151 kB / 0.5349 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.114e-05/0.2892, allocations: 25.33 kB / 0.5349 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.2893, allocations: 6.234 kB / 0.5349 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-06/0.2893, allocations: 0 / 0.5349 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.2893, allocations: 35.88 kB / 0.535 GB, free: 10.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.2893, allocations: 0 / 0.535 GB, free: 10.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001338/0.2894, allocations: 40.5 kB / 0.535 GB, free: 10.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.2895, allocations: 51.41 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.2896, allocations: 100.7 kB / 0.5352 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.2896, allocations: 27.08 kB / 0.5352 GB, free: 10.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.2896, allocations: 84.08 kB / 0.5353 GB, free: 10.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.2896, allocations: 5.328 kB / 0.5353 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.2897, allocations: 15.08 kB / 0.5353 GB, free: 10.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2898, allocations: 312.2 kB / 0.5356 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.2898, allocations: 5.375 kB / 0.5356 GB, free: 10.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-06/0.2898, allocations: 1.5 kB / 0.5356 GB, free: 10.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.2898, allocations: 11.67 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.2898, allocations: 0 / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.941e-05/0.2899, allocations: 36.52 kB / 0.5356 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2899, allocations: 15.45 kB / 0.5356 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.2899, allocations: 0 / 0.5356 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2899, allocations: 5.375 kB / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.29, allocations: 1.375 kB / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.29, allocations: 0 / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.528e-05/0.29, allocations: 5.312 kB / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.29, allocations: 4.031 kB / 0.5357 GB, free: 10.02 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 8.641e-05/0.2901, allocations: 107.2 kB / 0.5358 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.2901, allocations: 9.312 kB / 0.5358 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.2902, allocations: 48.98 kB / 0.5358 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2902, allocations: 1.375 kB / 0.5358 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2902, allocations: 4.031 kB / 0.5358 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2902, allocations: 0 / 0.5358 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.2904, allocations: 152.4 kB / 0.536 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.2904, allocations: 1.375 kB / 0.536 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.2904, allocations: 0 / 0.536 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2904, allocations: 3.938 kB / 0.536 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.2904, allocations: 5.312 kB / 0.536 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2904, allocations: 0 / 0.536 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2904, allocations: 1.375 kB / 0.536 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.815e-05/0.2905, allocations: 60 kB / 0.536 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.2905, allocations: 82.42 kB / 0.5361 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.2905, allocations: 1.375 kB / 0.5361 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.2906, allocations: 5.375 kB / 0.5361 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.2906, allocations: 1.375 kB / 0.5361 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2906, allocations: 3.938 kB / 0.5361 GB, free: 9.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.52e-05/0.2907, allocations: 82.02 kB / 0.5362 GB, free: 9.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2907, allocations: 128 / 0.5362 GB, free: 9.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000248/0.2909, allocations: 43.81 kB / 0.5363 GB, free: 9.383 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.000283/0.2912, allocations: 136.9 kB / 0.5364 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.454e-05/0.2913, allocations: 8.203 kB / 0.5364 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2913, allocations: 0 / 0.5364 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.837e-05/0.2913, allocations: 28.67 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.2914, allocations: 8.109 kB / 0.5364 GB, free: 9.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/0.2917, allocations: 91.75 kB / 0.5365 GB, free: 9.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.2919, allocations: 0.6751 MB / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.437e-05/0.292, allocations: 1.719 kB / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.396e-05/0.292, allocations: 7.438 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.292, allocations: 0 / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of Templates: time 0.003647/0.2956, allocations: 1.094 MB / 0.5382 GB, free: 7.848 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches