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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001734/0.001734, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001901/0.001901, allocations: 209.5 kB / 24.52 MB, free: 3.918 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.367/1.367, allocations: 230.5 MB / 258.2 MB, free: 7.746 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.2122/0.2122, allocations: 46.95 MB / 361.6 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.Test02RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 75.89 kB / 0.4969 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.297, allocations: 66.08 MB / 0.5614 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001596/0.2986, allocations: 495.4 kB / 0.5619 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.3006, allocations: 1.35 MB / 0.5632 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.814e-05/0.3006, allocations: 0 / 0.5632 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.3006, allocations: 4 kB / 0.5632 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.877e-05/0.3006, allocations: 0 / 0.5632 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007032/0.3013, allocations: 219.3 kB / 0.5634 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.781e-05/0.3014, allocations: 11.98 kB / 0.5634 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.3014, allocations: 0 / 0.5634 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.721e-05/0.3014, allocations: 4 kB / 0.5634 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.3015, allocations: 3.984 kB / 0.5634 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.3015, allocations: 0 / 0.5634 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.3019, allocations: 283.6 kB / 0.5637 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.302, allocations: 0 / 0.5637 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.302, allocations: 7.938 kB / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.3022, allocations: 145.5 kB / 0.5639 GB, free: 1.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3022, allocations: 0 / 0.5639 GB, free: 1.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3022, allocations: 0 / 0.5639 GB, free: 1.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.3022, allocations: 0 / 0.5639 GB, free: 1.512 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.0003651/0.3026, allocations: 258.3 kB / 0.5641 GB, free: 1.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3026, allocations: 12.03 kB / 0.5641 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.802e-05/0.3026, allocations: 192 / 0.5641 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.3027, allocations: 34.73 kB / 0.5642 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.3027, allocations: 4.891 kB / 0.5642 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.843e-05/0.3028, allocations: 106.5 kB / 0.5643 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3028, allocations: 8.375 kB / 0.5643 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.3028, allocations: 384 / 0.5643 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.3029, allocations: 75.2 kB / 0.5643 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.303, allocations: 4 kB / 0.5643 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.303, allocations: 0 / 0.5643 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.303, allocations: 0 / 0.5643 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.436e-05/0.303, allocations: 8 kB / 0.5644 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.3034, allocations: 215.8 kB / 0.5646 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.473e-05/0.3034, allocations: 22.61 kB / 0.5646 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.3034, allocations: 8.859 kB / 0.5646 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.3034, allocations: 7.938 kB / 0.5646 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3035, allocations: 34.62 kB / 0.5646 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3035, allocations: 0 / 0.5646 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.3036, allocations: 29.7 kB / 0.5647 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.3037, allocations: 51.41 kB / 0.5647 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.3037, allocations: 101.8 kB / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.3038, allocations: 25.7 kB / 0.5648 GB, free: 360 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.3038, allocations: 84.09 kB / 0.5649 GB, free: 272 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-06/0.3038, allocations: 7.953 kB / 0.5649 GB, free: 264 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.3039, allocations: 17.97 kB / 0.5649 GB, free: 240 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.304, allocations: 318.8 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.304, allocations: 3.984 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.802e-05/0.3041, allocations: 22.52 kB / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.3041, allocations: 26.58 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3041, allocations: 0 / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.493e-05/0.3042, allocations: 49.62 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3042, allocations: 8.094 kB / 0.5653 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3042, allocations: 4 kB / 0.5653 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3042, allocations: 0 / 0.5653 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.711e-05/0.3043, allocations: 7.938 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.3043, allocations: 7.984 kB / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.3043, allocations: 0 / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3043, allocations: 0 / 0.5654 GB, free: 15.76 MB / 414.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 8.587e-05/0.3044, allocations: 118.9 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.3044, allocations: 0 / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.3045, allocations: 48.94 kB / 0.5655 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3045, allocations: 0 / 0.5655 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3045, allocations: 4 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3045, allocations: 0 / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.3047, allocations: 120.7 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3047, allocations: 7.938 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.3047, allocations: 0 / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.3047, allocations: 0 / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.3047, allocations: 3.938 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.3047, allocations: 3.938 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3047, allocations: 8.031 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.3048, allocations: 135.5 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.3048, allocations: 8 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.3048, allocations: 0 / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/0.3049, allocations: 0 / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-06/0.3049, allocations: 0 / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.3049, allocations: 4 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.042e-05/0.3049, allocations: 83.27 kB / 0.5659 GB, free: 15.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3049, allocations: 0 / 0.5659 GB, free: 15.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.3052, allocations: 39.94 kB / 0.5659 GB, free: 15.11 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.000573/0.3058, allocations: 0.7085 MB / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.063e-05/0.3058, allocations: 15.98 kB / 0.5666 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3058, allocations: 3.938 kB / 0.5666 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.305e-05/0.3059, allocations: 29.7 kB / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.3061, allocations: 0 / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.3065, allocations: 130.5 kB / 0.5668 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.224e-05/0.3065, allocations: 55.64 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.134e-05/0.3065, allocations: 8 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.3066, allocations: 7.438 kB / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3066, allocations: 0 / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.3271, allocations: 2.016 MB / 0.5688 GB, free: 12.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.93, allocations: 18.62 kB / 0.5688 GB, free: 12.14 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.739162144018337]