Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 108.1 kB / 17.07 MB, free: 5.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 192.7 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 227.9 MB, free: 4.355 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3291/0.3291, allocations: 43.52 MB / 320.8 MB, free: 9.07 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 71.89 kB / 450 MB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2681, allocations: 57.79 MB / 0.4959 GB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.00148/0.2697, allocations: 0.5081 MB / 0.4964 GB, free: 19.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.2711, allocations: 1.393 MB / 0.4977 GB, free: 17.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.2711, allocations: 0 / 0.4977 GB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.2711, allocations: 0 / 0.4977 GB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.021e-05/0.2712, allocations: 0 / 0.4977 GB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.2718, allocations: 218.7 kB / 0.4979 GB, free: 17.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.471e-05/0.2718, allocations: 12.77 kB / 0.498 GB, free: 17.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.2719, allocations: 1.125 kB / 0.498 GB, free: 17.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.598e-05/0.2719, allocations: 2.438 kB / 0.498 GB, free: 17.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.272, allocations: 6.406 kB / 0.498 GB, free: 17.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.272, allocations: 0 / 0.498 GB, free: 17.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003841/0.2724, allocations: 280.8 kB / 0.4982 GB, free: 17.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.2724, allocations: 3.984 kB / 0.4982 GB, free: 17.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.649e-05/0.2724, allocations: 1.281 kB / 0.4982 GB, free: 17.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.2726, allocations: 149.6 kB / 0.4984 GB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2726, allocations: 1.031 kB / 0.4984 GB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2726, allocations: 0 / 0.4984 GB, free: 17.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2726, allocations: 0 / 0.4984 GB, free: 17.55 MB / 382.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.0002882/0.2729, allocations: 333.9 kB / 0.4987 GB, free: 17.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.273, allocations: 12.58 kB / 0.4987 GB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.121e-05/0.273, allocations: 35.72 kB / 0.4987 GB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.207e-05/0.273, allocations: 1.938 kB / 0.4988 GB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.494e-05/0.2731, allocations: 161.8 kB / 0.4989 GB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.2731, allocations: 4.375 kB / 0.4989 GB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.2731, allocations: 1.5 kB / 0.4989 GB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.902e-05/0.2732, allocations: 40.81 kB / 0.4989 GB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2732, allocations: 0 / 0.4989 GB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.2733, allocations: 0 / 0.4989 GB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2733, allocations: 1.719 kB / 0.499 GB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.95e-05/0.2733, allocations: 5.312 kB / 0.499 GB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.911e-05/0.2734, allocations: 151.9 kB / 0.4991 GB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.161e-05/0.2734, allocations: 16.61 kB / 0.4991 GB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.2735, allocations: 7.016 kB / 0.4991 GB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-06/0.2735, allocations: 0 / 0.4991 GB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.2735, allocations: 35.56 kB / 0.4992 GB, free: 16.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.2735, allocations: 3.938 kB / 0.4992 GB, free: 16.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001137/0.2736, allocations: 48.83 kB / 0.4992 GB, free: 16.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.637e-05/0.2736, allocations: 51.41 kB / 0.4993 GB, free: 16.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.131e-05/0.2737, allocations: 96.55 kB / 0.4993 GB, free: 16.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.2737, allocations: 26.77 kB / 0.4994 GB, free: 16.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.165e-05/0.2737, allocations: 80.14 kB / 0.4995 GB, free: 16.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.2737, allocations: 5.078 kB / 0.4995 GB, free: 16.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.2738, allocations: 11.91 kB / 0.4995 GB, free: 16.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.692e-05/0.2738, allocations: 320.2 kB / 0.4998 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.2738, allocations: 5.141 kB / 0.4998 GB, free: 15.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-06/0.2738, allocations: 1.156 kB / 0.4998 GB, free: 15.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.197e-05/0.2739, allocations: 12.2 kB / 0.4998 GB, free: 15.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2739, allocations: 3.938 kB / 0.4998 GB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.506e-05/0.2739, allocations: 36.2 kB / 0.4998 GB, free: 15.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.2739, allocations: 5.719 kB / 0.4998 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.2739, allocations: 0 / 0.4998 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.274, allocations: 5.312 kB / 0.4998 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.989e-05/0.274, allocations: 1.125 kB / 0.4998 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.274, allocations: 1.219 kB / 0.4998 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.327e-05/0.274, allocations: 3.984 kB / 0.4998 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.274, allocations: 1.281 kB / 0.4998 GB, free: 15.89 MB / 382.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 3.816e-05/0.2741, allocations: 111.1 kB / 0.5 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.2741, allocations: 5.125 kB / 0.5 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.647e-05/0.2742, allocations: 52.28 kB / 0.5 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2742, allocations: 1.125 kB / 0.5 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2742, allocations: 0 / 0.5 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.2742, allocations: 1.188 kB / 0.5 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.577e-05/0.2743, allocations: 148.2 kB / 0.5002 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.2743, allocations: 0 / 0.5002 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-06/0.2743, allocations: 9.266 kB / 0.5002 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.2743, allocations: 0 / 0.5002 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.2743, allocations: 1.156 kB / 0.5002 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.2743, allocations: 4.031 kB / 0.5002 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2743, allocations: 0 / 0.5002 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.051e-05/0.2744, allocations: 61.11 kB / 0.5002 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.2744, allocations: 86.03 kB / 0.5003 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.2744, allocations: 5.203 kB / 0.5003 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.778e-05/0.2745, allocations: 1.094 kB / 0.5003 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.2745, allocations: 1.25 kB / 0.5003 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.2745, allocations: 5.031 kB / 0.5003 GB, free: 15.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.592e-05/0.2745, allocations: 77.5 kB / 0.5004 GB, free: 15.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2745, allocations: 0 / 0.5004 GB, free: 15.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.2748, allocations: 42.58 kB / 0.5004 GB, free: 15.25 MB / 382.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.000338/0.2751, allocations: 0.6421 MB / 0.5011 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.58e-05/0.2752, allocations: 12.47 kB / 0.5011 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2752, allocations: 0 / 0.5011 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.2752, allocations: 29.08 kB / 0.5011 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.2754, allocations: 6.219 kB / 0.5011 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.2757, allocations: 126.6 kB / 0.5012 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.712e-05/0.2758, allocations: 0.6751 MB / 0.5019 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.474e-05/0.2758, allocations: 5.469 kB / 0.5019 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.2758, allocations: 8.719 kB / 0.5019 GB, free: 13.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2759, allocations: 0 / 0.5019 GB, free: 13.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.2976, allocations: 1.844 MB / 0.5037 GB, free: 12.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.293, allocations: 7.562 kB / 0.5037 GB, free: 12.59 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 10.974402572028339]