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.001802/0.001802, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002331/0.002331, allocations: 205.2 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.365/1.365, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] 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.2128/0.2128, allocations: 46.95 MB / 360.8 MB, free: 3.91 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 83.8 kB / 0.4961 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2829, allocations: 66.09 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001594/0.2845, allocations: 495.5 kB / 0.5611 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.2863, allocations: 1.354 MB / 0.5625 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.2863, allocations: 3.938 kB / 0.5625 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.2863, allocations: 0 / 0.5625 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.293e-05/0.2864, allocations: 0 / 0.5625 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006414/0.287, allocations: 219.3 kB / 0.5627 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.304e-05/0.287, allocations: 12 kB / 0.5627 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.2871, allocations: 7.984 kB / 0.5627 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.35e-05/0.2871, allocations: 0 / 0.5627 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.2871, allocations: 7.984 kB / 0.5627 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.2872, allocations: 0 / 0.5627 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004385/0.2876, allocations: 259.6 kB / 0.563 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.2876, allocations: 4 kB / 0.563 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.605e-05/0.2876, allocations: 3.938 kB / 0.563 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.2878, allocations: 145.5 kB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2878, allocations: 0 / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2878, allocations: 8 kB / 0.5631 GB, free: 1.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.2878, allocations: 0 / 0.5631 GB, free: 1.531 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.0003257/0.2882, allocations: 258.2 kB / 0.5634 GB, free: 1.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2882, allocations: 8.031 kB / 0.5634 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.2882, allocations: 30.75 kB / 0.5634 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.2883, allocations: 0.9375 kB / 0.5634 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.2884, allocations: 114.5 kB / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2884, allocations: 384 / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.2884, allocations: 384 / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.2885, allocations: 63.52 kB / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.2885, allocations: 4 kB / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.2885, allocations: 0 / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.2885, allocations: 0 / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.13e-05/0.2885, allocations: 7.938 kB / 0.5636 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.2887, allocations: 120.8 kB / 0.5637 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.839e-05/0.2887, allocations: 14.58 kB / 0.5637 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.2887, allocations: 8.922 kB / 0.5637 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-06/0.2887, allocations: 3.938 kB / 0.5637 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.2888, allocations: 38.48 kB / 0.5638 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2888, allocations: 0 / 0.5638 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001196/0.2889, allocations: 45.64 kB / 0.5638 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.2889, allocations: 51.41 kB / 0.5638 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/0.289, allocations: 97.8 kB / 0.5639 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.289, allocations: 25.7 kB / 0.564 GB, free: 496 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.2891, allocations: 80.14 kB / 0.564 GB, free: 412 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.2891, allocations: 7.938 kB / 0.564 GB, free: 404 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.2891, allocations: 17.72 kB / 0.5641 GB, free: 380 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2893, allocations: 310.8 kB / 0.5644 GB, free: 60 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.2893, allocations: 0 / 0.5644 GB, free: 60 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-06/0.2893, allocations: 4.25 kB / 0.5644 GB, free: 56 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.41e-05/0.2893, allocations: 12.92 kB / 0.5644 GB, free: 40 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2893, allocations: 3.938 kB / 0.5644 GB, free: 36 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.411e-05/0.2894, allocations: 41.62 kB / 0.5644 GB, free: 15.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2894, allocations: 8 kB / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.2894, allocations: 0 / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.2894, allocations: 0 / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.659e-05/0.2895, allocations: 0 / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2895, allocations: 4 kB / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.2895, allocations: 0 / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.2895, allocations: 4.031 kB / 0.5644 GB, free: 15.97 MB / 414.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 7.268e-05/0.2896, allocations: 105.8 kB / 0.5645 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.2896, allocations: 7.938 kB / 0.5645 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.2897, allocations: 48.78 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2897, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2897, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.2897, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.2898, allocations: 128.8 kB / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2898, allocations: 0 / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-06/0.2898, allocations: 3.938 kB / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2898, allocations: 0 / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.2898, allocations: 0 / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.2898, allocations: 4 kB / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2898, allocations: 0 / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.506e-05/0.2899, allocations: 65.06 kB / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.2899, allocations: 3.938 kB / 0.5648 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.2899, allocations: 0 / 0.5648 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.08e-05/0.29, allocations: 8.031 kB / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-06/0.29, allocations: 3.938 kB / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.29, allocations: 3.984 kB / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.161e-05/0.29, allocations: 79.28 kB / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.29, allocations: 0 / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.2903, allocations: 47.92 kB / 0.5649 GB, free: 15.39 MB / 414.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.0005312/0.2908, allocations: 0.6318 MB / 0.5655 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.391e-05/0.2909, allocations: 8 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2909, allocations: 8.125 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.2909, allocations: 29.7 kB / 0.5656 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.291, allocations: 13.81 kB / 0.5656 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.2914, allocations: 118.6 kB / 0.5657 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.479e-05/0.2914, allocations: 55.36 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.316e-05/0.2914, allocations: 0 / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.2915, allocations: 7.438 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2915, allocations: 4 kB / 0.5658 GB, free: 14.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.3184, allocations: 2.362 MB / 0.5681 GB, free: 12.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.98, allocations: 14.25 kB / 0.5681 GB, free: 12.15 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.71588775003329]