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.001313/0.001313, allocations: 110 kB / 20.43 MB, free: 1.453 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.001553/0.001553, allocations: 213.4 kB / 23.74 MB, free: 4.66 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.428/1.428, allocations: 230.5 MB / 257.4 MB, free: 8 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.2767/0.2767, allocations: 46.93 MB / 360.8 MB, free: 4.285 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.002461/0.002461, allocations: 83.86 kB / 0.4962 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3008, allocations: 66.08 MB / 0.5607 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.00157/0.3024, allocations: 0.4936 MB / 0.5612 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.3043, allocations: 1.409 MB / 0.5626 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.3043, allocations: 0 / 0.5626 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.3044, allocations: 3.938 kB / 0.5626 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.328e-05/0.3044, allocations: 4 kB / 0.5626 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.3051, allocations: 211.4 kB / 0.5628 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.98e-05/0.3051, allocations: 15.92 kB / 0.5628 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.3052, allocations: 0 / 0.5628 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.84e-05/0.3052, allocations: 7.984 kB / 0.5628 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.3052, allocations: 4 kB / 0.5628 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.3052, allocations: 0 / 0.5628 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004548/0.3057, allocations: 271.6 kB / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.3057, allocations: 3.938 kB / 0.5631 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.3057, allocations: 8 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.3059, allocations: 145.5 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3059, allocations: 0 / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3059, allocations: 0 / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3059, allocations: 0 / 0.5632 GB, free: 1.762 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.0003589/0.3063, allocations: 266.2 kB / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3063, allocations: 8.031 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.3064, allocations: 38.75 kB / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.3064, allocations: 0.9375 kB / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.812e-05/0.3065, allocations: 106.5 kB / 0.5636 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3065, allocations: 8.312 kB / 0.5636 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-06/0.3065, allocations: 8.312 kB / 0.5636 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.3066, allocations: 33.81 kB / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3066, allocations: 4 kB / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.3066, allocations: 0 / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.3067, allocations: 0 / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.3067, allocations: 0 / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.3068, allocations: 124.8 kB / 0.5638 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.753e-05/0.3069, allocations: 22.52 kB / 0.5638 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.3069, allocations: 12.95 kB / 0.5638 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.3069, allocations: 0 / 0.5638 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.3069, allocations: 34.5 kB / 0.5639 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.3069, allocations: 0 / 0.5639 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001288/0.307, allocations: 37.64 kB / 0.5639 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.3071, allocations: 51.41 kB / 0.5639 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.3072, allocations: 106 kB / 0.564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.3072, allocations: 25.7 kB / 0.5641 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.3072, allocations: 80.14 kB / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.3072, allocations: 3.953 kB / 0.5641 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.3073, allocations: 13.72 kB / 0.5642 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3074, allocations: 310.8 kB / 0.5645 GB, free: 316 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.3074, allocations: 0 / 0.5645 GB, free: 316 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-06/0.3074, allocations: 4 kB / 0.5645 GB, free: 312 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.962e-05/0.3075, allocations: 17.03 kB / 0.5645 GB, free: 292 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3075, allocations: 4 kB / 0.5645 GB, free: 288 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.903e-05/0.3075, allocations: 37.58 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3075, allocations: 4 kB / 0.5645 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3075, allocations: 4 kB / 0.5645 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3076, allocations: 0 / 0.5645 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-05/0.3076, allocations: 3.984 kB / 0.5645 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3076, allocations: 3.984 kB / 0.5645 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.3076, allocations: 0 / 0.5645 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3076, allocations: 8.031 kB / 0.5645 GB, free: 220 kB / 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 7.645e-05/0.3077, allocations: 109.8 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.3077, allocations: 3.938 kB / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.3078, allocations: 40.86 kB / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3078, allocations: 0 / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.3078, allocations: 7.969 kB / 0.5647 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3079, allocations: 7.984 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.308, allocations: 116.7 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.308, allocations: 4 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-06/0.308, allocations: 7.938 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.308, allocations: 3.938 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.308, allocations: 4 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.308, allocations: 0 / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.308, allocations: 3.984 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.958e-05/0.3081, allocations: 57.14 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.3081, allocations: 11.94 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.3081, allocations: 0 / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.3082, allocations: 3.984 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.3082, allocations: 4 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3082, allocations: 4 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.895e-05/0.3082, allocations: 75.28 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3082, allocations: 0 / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.3085, allocations: 44.06 kB / 0.565 GB, free: 15.63 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.0005519/0.309, allocations: 0.6357 MB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.375e-05/0.3091, allocations: 8 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3091, allocations: 0 / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.3091, allocations: 33.8 kB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.3093, allocations: 0 / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.3096, allocations: 126.6 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.3099, allocations: 0.669 MB / 0.5665 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.353e-05/0.3099, allocations: 4 kB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.31, allocations: 11.42 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.31, allocations: 0 / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.3367, allocations: 1.958 MB / 0.5684 GB, free: 12.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.99, allocations: 9.25 kB / 0.5684 GB, free: 12.18 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.922518531093374]