Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00179/0.00179, 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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002228/0.002228, allocations: 214.7 kB / 24.51 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2218/0.2218, allocations: 46.95 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 59.91 kB / 0.4968 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3184, allocations: 66.04 MB / 0.5613 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001883/0.3203, allocations: 491.5 kB / 0.5618 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.3223, allocations: 1.358 MB / 0.5631 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.3223, allocations: 0 / 0.5631 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.3224, allocations: 0 / 0.5631 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.461e-05/0.3224, allocations: 4 kB / 0.5631 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007456/0.3231, allocations: 215.5 kB / 0.5633 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.837e-05/0.3232, allocations: 7.984 kB / 0.5634 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.3232, allocations: 7.984 kB / 0.5634 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.592e-05/0.3232, allocations: 0 / 0.5634 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.3233, allocations: 11.94 kB / 0.5634 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.3233, allocations: 0 / 0.5634 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004921/0.3238, allocations: 271.6 kB / 0.5636 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.3238, allocations: 7.938 kB / 0.5636 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.3238, allocations: 4 kB / 0.5636 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.3241, allocations: 141.5 kB / 0.5638 GB, free: 1.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3241, allocations: 4 kB / 0.5638 GB, free: 1.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3241, allocations: 0 / 0.5638 GB, free: 1.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3241, allocations: 0 / 0.5638 GB, free: 1.727 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.0003915/0.3245, allocations: 262.2 kB / 0.564 GB, free: 1.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3245, allocations: 12.03 kB / 0.564 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.985e-05/0.3245, allocations: 192 / 0.564 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.3246, allocations: 30.75 kB / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.3246, allocations: 0.9375 kB / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.3247, allocations: 110.5 kB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.3247, allocations: 384 / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.3247, allocations: 384 / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.3248, allocations: 75.27 kB / 0.5643 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3248, allocations: 3.938 kB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3248, allocations: 0 / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3248, allocations: 0 / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.262e-05/0.3249, allocations: 4 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.325, allocations: 124.8 kB / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.435e-05/0.3251, allocations: 14.58 kB / 0.5644 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.3251, allocations: 8.922 kB / 0.5644 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.3251, allocations: 7.875 kB / 0.5644 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.3251, allocations: 30.56 kB / 0.5644 GB, free: 0.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3251, allocations: 4 kB / 0.5644 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001315/0.3252, allocations: 33.7 kB / 0.5645 GB, free: 0.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.3253, allocations: 51.41 kB / 0.5645 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/0.3254, allocations: 101.8 kB / 0.5646 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3254, allocations: 25.7 kB / 0.5646 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.3254, allocations: 80.14 kB / 0.5647 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.3254, allocations: 3.953 kB / 0.5647 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.3255, allocations: 13.72 kB / 0.5647 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3256, allocations: 314.8 kB / 0.565 GB, free: 256 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.3256, allocations: 4.25 kB / 0.565 GB, free: 252 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.3256, allocations: 7.938 kB / 0.5651 GB, free: 244 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.981e-05/0.3257, allocations: 12.84 kB / 0.5651 GB, free: 228 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3257, allocations: 0 / 0.5651 GB, free: 228 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.546e-05/0.3257, allocations: 33.64 kB / 0.5651 GB, free: 188 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3257, allocations: 8 kB / 0.5651 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3257, allocations: 3.938 kB / 0.5651 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3258, allocations: 0 / 0.5651 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.3258, allocations: 8 kB / 0.5651 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3258, allocations: 4.094 kB / 0.5651 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.271e-05/0.3258, allocations: 0 / 0.5651 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.3258, allocations: 0 / 0.5651 GB, free: 164 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.919e-05/0.3259, allocations: 117.8 kB / 0.5652 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.3259, allocations: 7.938 kB / 0.5652 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.3261, allocations: 36.86 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3261, allocations: 0 / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3261, allocations: 4.031 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3261, allocations: 3.984 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.3262, allocations: 124.7 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/0.3262, allocations: 7.922 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.3262, allocations: 0 / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3262, allocations: 0 / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.3262, allocations: 4 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3262, allocations: 0 / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3262, allocations: 0 / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.215e-05/0.3263, allocations: 65.06 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.3263, allocations: 7.938 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.3264, allocations: 4.031 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.3264, allocations: 4 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.3264, allocations: 3.984 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3264, allocations: 0 / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.812e-05/0.3265, allocations: 79.28 kB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3265, allocations: 0 / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3267, allocations: 39.94 kB / 0.5656 GB, free: 15.58 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.00058/0.3273, allocations: 0.6357 MB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.828e-05/0.3274, allocations: 16.11 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3274, allocations: 0 / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.488e-05/0.3274, allocations: 25.7 kB / 0.5663 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.3276, allocations: 4 kB / 0.5663 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.328, allocations: 122.6 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.159e-05/0.328, allocations: 59.3 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.617e-05/0.328, allocations: 0 / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.3281, allocations: 7.562 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3281, allocations: 4 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.3497, allocations: 2.038 MB / 0.5684 GB, free: 12.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.62, allocations: 8.797 kB / 0.5685 GB, free: 12.71 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 14.568711556028575]