Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001349/0.001349, allocations: 113.6 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.001377/0.001377, 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.469/1.469, allocations: 207.6 MB / 230.5 MB, free: 3.926 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.3495/0.3495, allocations: 44.23 MB / 326.5 MB, free: 6.816 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.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.003575/0.003575, allocations: 75.89 kB / 462.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3046, allocations: 60.99 MB / 0.511 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001621/0.3062, allocations: 0.5892 MB / 0.5115 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003352/0.3065, allocations: 118.8 kB / 0.5116 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.3066, allocations: 0 / 0.5116 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.3066, allocations: 0 / 0.5116 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.3068, allocations: 40.89 kB / 0.5117 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.26e-06/0.3068, allocations: 5.094 kB / 0.5117 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.698e-05/0.3069, allocations: 32.28 kB / 0.5117 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.307, allocations: 2.125 kB / 0.5117 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.198e-05/0.307, allocations: 6.938 kB / 0.5117 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.307, allocations: 15.55 kB / 0.5117 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.3071, allocations: 6.281 kB / 0.5118 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3072, allocations: 51.59 kB / 0.5118 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.3072, allocations: 1.438 kB / 0.5118 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.3072, allocations: 13.2 kB / 0.5118 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.3073, allocations: 37.98 kB / 0.5119 GB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3073, allocations: 0 / 0.5119 GB, free: 12.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3073, allocations: 5.156 kB / 0.5119 GB, free: 12.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3073, allocations: 0 / 0.5119 GB, free: 12.43 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002902/0.3076, allocations: 342.5 kB / 0.5122 GB, free: 12.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3077, allocations: 13.36 kB / 0.5122 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.3077, allocations: 40.95 kB / 0.5122 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.3077, allocations: 3.281 kB / 0.5122 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.792e-05/0.3078, allocations: 172.2 kB / 0.5124 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3078, allocations: 7.062 kB / 0.5124 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.3078, allocations: 3.156 kB / 0.5124 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.308, allocations: 60.14 kB / 0.5125 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.308, allocations: 9.156 kB / 0.5125 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.308, allocations: 4 kB / 0.5125 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.308, allocations: 1.469 kB / 0.5125 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.725e-05/0.3081, allocations: 53.5 kB / 0.5125 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.3082, allocations: 172.2 kB / 0.5127 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.3084, allocations: 74.23 kB / 0.5128 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.3084, allocations: 33.5 kB / 0.5128 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.3087, allocations: 253.3 kB / 0.513 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.3087, allocations: 35.42 kB / 0.5131 GB, free: 11.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.3087, allocations: 1.062 kB / 0.5131 GB, free: 11.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002243/0.3089, allocations: 106.5 kB / 0.5132 GB, free: 11.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.309, allocations: 51.41 kB / 0.5132 GB, free: 10.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.474e-05/0.309, allocations: 103.3 kB / 0.5133 GB, free: 10.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.309, allocations: 26.8 kB / 0.5134 GB, free: 10.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.367e-05/0.309, allocations: 84.09 kB / 0.5134 GB, free: 10.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.3091, allocations: 28.03 kB / 0.5135 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.3091, allocations: 24.3 kB / 0.5135 GB, free: 10.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.3091, allocations: 316 kB / 0.5138 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.3092, allocations: 18.33 kB / 0.5138 GB, free: 10.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.3092, allocations: 18.95 kB / 0.5138 GB, free: 10.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.834e-05/0.3093, allocations: 57.52 kB / 0.5139 GB, free: 10.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3093, allocations: 4 kB / 0.5139 GB, free: 10.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001122/0.3094, allocations: 88.58 kB / 0.514 GB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3094, allocations: 8.375 kB / 0.514 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3094, allocations: 0.6562 kB / 0.514 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3094, allocations: 1.188 kB / 0.514 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3095, allocations: 16.36 kB / 0.514 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3095, allocations: 1.312 kB / 0.514 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.3096, allocations: 1.344 kB / 0.514 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3096, allocations: 1.969 kB / 0.514 GB, free: 10.26 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 (10): * Single equations (assignments): 10 * 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 5.849e-05/0.3096, allocations: 115.9 kB / 0.5141 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.3097, allocations: 14.14 kB / 0.5141 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.3098, allocations: 111.9 kB / 0.5142 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3098, allocations: 3.219 kB / 0.5142 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3098, allocations: 0 / 0.5142 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3098, allocations: 0 / 0.5142 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.019e-05/0.3099, allocations: 169.5 kB / 0.5144 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3099, allocations: 0 / 0.5144 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.31, allocations: 19.89 kB / 0.5144 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.31, allocations: 7.938 kB / 0.5144 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.31, allocations: 3.625 kB / 0.5144 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.31, allocations: 0 / 0.5144 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.31, allocations: 0 / 0.5144 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.3101, allocations: 116.2 kB / 0.5145 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.3101, allocations: 77.11 kB / 0.5146 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3101, allocations: 7.656 kB / 0.5146 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.3102, allocations: 4 kB / 0.5146 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.3102, allocations: 10.23 kB / 0.5146 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.3102, allocations: 5.094 kB / 0.5146 GB, free: 9.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.952e-05/0.3102, allocations: 76.5 kB / 0.5147 GB, free: 9.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3102, allocations: 0 / 0.5147 GB, free: 9.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001987/0.3104, allocations: 20.09 kB / 0.5147 GB, free: 9.523 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0003182/0.3107, allocations: 0.6627 MB / 0.5154 GB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.3109, allocations: 55.5 kB / 0.5154 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3109, allocations: 0 / 0.5154 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.736e-05/0.3109, allocations: 25.28 kB / 0.5154 GB, free: 8.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.3111, allocations: 6.531 kB / 0.5155 GB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.3115, allocations: 175 kB / 0.5156 GB, free: 8.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.3116, allocations: 0.6822 MB / 0.5163 GB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.203e-05/0.3116, allocations: 8.062 kB / 0.5163 GB, free: 7.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.3117, allocations: 15.06 kB / 0.5163 GB, free: 7.961 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3117, allocations: 0 / 0.5163 GB, free: 7.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.3346, allocations: 1.568 MB / 0.5178 GB, free: 7.008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/8.022, allocations: 3.969 kB / 0.5178 GB, free: 7.008 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.807707236148417]