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.001914/0.001914, allocations: 111.2 kB / 17.13 MB, free: 5.754 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.002078/0.002078, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.473/1.473, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.3297/0.3297, allocations: 44.22 MB / 326.5 MB, free: 6.844 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.002176/0.002176, allocations: 72.44 kB / 462.1 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2764, allocations: 61 MB / 0.5109 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.00151/0.2779, allocations: 0.5107 MB / 0.5114 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2793, allocations: 1.395 MB / 0.5127 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.2793, allocations: 4 kB / 0.5128 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.2794, allocations: 1.094 kB / 0.5128 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.973e-05/0.2794, allocations: 0 / 0.5128 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.28, allocations: 217 kB / 0.513 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.09e-05/0.2801, allocations: 8.5 kB / 0.513 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.2801, allocations: 5.109 kB / 0.513 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.794e-05/0.2801, allocations: 6.516 kB / 0.513 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.2802, allocations: 5.406 kB / 0.513 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.2802, allocations: 1.125 kB / 0.513 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.2805, allocations: 276.7 kB / 0.5132 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.2805, allocations: 4 kB / 0.5133 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.2806, allocations: 6.688 kB / 0.5133 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.2807, allocations: 144.5 kB / 0.5134 GB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2807, allocations: 0 / 0.5134 GB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2807, allocations: 0 / 0.5134 GB, free: 11.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.2808, allocations: 0 / 0.5134 GB, free: 11.34 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.0002952/0.281, allocations: 333.8 kB / 0.5137 GB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2811, allocations: 12.73 kB / 0.5137 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.381e-05/0.2811, allocations: 36.38 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.2811, allocations: 0.9375 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.693e-05/0.2812, allocations: 169.8 kB / 0.5139 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2812, allocations: 384 / 0.5139 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.2812, allocations: 1.438 kB / 0.5139 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.27e-05/0.2813, allocations: 36.41 kB / 0.514 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2813, allocations: 8.516 kB / 0.514 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.2813, allocations: 1.281 kB / 0.514 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2813, allocations: 0 / 0.514 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.849e-05/0.2814, allocations: 2.5 kB / 0.514 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.847e-05/0.2815, allocations: 154.9 kB / 0.5141 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.825e-05/0.2815, allocations: 17.2 kB / 0.5141 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.2815, allocations: 6.109 kB / 0.5141 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.2815, allocations: 0 / 0.5141 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.2815, allocations: 35.88 kB / 0.5142 GB, free: 10.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.2815, allocations: 0 / 0.5142 GB, free: 10.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001233/0.2817, allocations: 40.98 kB / 0.5142 GB, free: 10.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.2817, allocations: 55.53 kB / 0.5143 GB, free: 10.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.83e-05/0.2817, allocations: 97.06 kB / 0.5144 GB, free: 10.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.565e-06/0.2817, allocations: 25.7 kB / 0.5144 GB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.345e-05/0.2818, allocations: 81.42 kB / 0.5145 GB, free: 10.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.2818, allocations: 3.953 kB / 0.5145 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.2818, allocations: 16.28 kB / 0.5145 GB, free: 10.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.965e-05/0.2818, allocations: 312.3 kB / 0.5148 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.2818, allocations: 5.281 kB / 0.5148 GB, free: 9.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.2819, allocations: 1.156 kB / 0.5148 GB, free: 9.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.172e-05/0.2819, allocations: 16.44 kB / 0.5148 GB, free: 9.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2819, allocations: 0 / 0.5148 GB, free: 9.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.685e-05/0.2819, allocations: 44.17 kB / 0.5148 GB, free: 9.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2819, allocations: 4.469 kB / 0.5149 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2819, allocations: 1.062 kB / 0.5149 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.282, allocations: 0 / 0.5149 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.589e-05/0.282, allocations: 2.25 kB / 0.5149 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.282, allocations: 5.25 kB / 0.5149 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.244e-05/0.282, allocations: 0 / 0.5149 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.282, allocations: 1.062 kB / 0.5149 GB, free: 9.691 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 4.141e-05/0.2821, allocations: 111 kB / 0.515 GB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.2821, allocations: 5 kB / 0.515 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.576e-05/0.2822, allocations: 48.58 kB / 0.515 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2822, allocations: 1.094 kB / 0.515 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2822, allocations: 3.984 kB / 0.515 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.2822, allocations: 1.125 kB / 0.515 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.783e-05/0.2822, allocations: 148 kB / 0.5152 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.2822, allocations: 1.062 kB / 0.5152 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.2822, allocations: 7.875 kB / 0.5152 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.2822, allocations: 0 / 0.5152 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.2823, allocations: 5.234 kB / 0.5152 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.2823, allocations: 0 / 0.5152 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2823, allocations: 1.188 kB / 0.5152 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.026e-05/0.2823, allocations: 65.3 kB / 0.5152 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.2823, allocations: 85 kB / 0.5153 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.2823, allocations: 1.375 kB / 0.5153 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.2824, allocations: 5.422 kB / 0.5153 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.2824, allocations: 1.406 kB / 0.5153 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.2824, allocations: 1.406 kB / 0.5153 GB, free: 9.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.715e-05/0.2824, allocations: 80.69 kB / 0.5154 GB, free: 9.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2824, allocations: 0 / 0.5154 GB, free: 9.055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.2827, allocations: 38.19 kB / 0.5154 GB, free: 9.051 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.0003341/0.283, allocations: 0.6431 MB / 0.5161 GB, free: 8.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.053e-05/0.2831, allocations: 15.28 kB / 0.5161 GB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.2831, allocations: 1.75 kB / 0.5161 GB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.2831, allocations: 27.36 kB / 0.5161 GB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.2833, allocations: 3.438 kB / 0.5161 GB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.2835, allocations: 131.5 kB / 0.5162 GB, free: 8.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.943e-05/0.2836, allocations: 0.6748 MB / 0.5169 GB, free: 7.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.481e-05/0.2836, allocations: 1.906 kB / 0.5169 GB, free: 7.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.2837, allocations: 11.56 kB / 0.5169 GB, free: 7.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2837, allocations: 0 / 0.5169 GB, free: 7.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.3062, allocations: 1.849 MB / 0.5187 GB, free: 6.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.09, allocations: 12.7 kB / 0.5187 GB, free: 6.387 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.823946407996118]