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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 110.3 kB / 17.09 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009931/0.0009932, allocations: 196.2 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1923/0.1923, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 254.1 MB 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.001527/0.001527, allocations: 61.47 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1052, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001536/0.1068, allocations: 0.498 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1087, allocations: 1.39 MB / 0.4904 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.1087, allocations: 0 / 0.4904 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.08e-05/0.1087, allocations: 0 / 0.4904 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.235e-05/0.1088, allocations: 0 / 0.4904 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.1094, allocations: 227.9 kB / 0.4906 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.553e-05/0.1095, allocations: 7.984 kB / 0.4906 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.1095, allocations: 4 kB / 0.4906 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.652e-05/0.1096, allocations: 4 kB / 0.4906 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.1096, allocations: 11.92 kB / 0.4906 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1096, allocations: 0 / 0.4906 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/0.1101, allocations: 267.6 kB / 0.4909 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.1101, allocations: 11.94 kB / 0.4909 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.1101, allocations: 3.984 kB / 0.4909 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1104, allocations: 135.7 kB / 0.491 GB, free: 9.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1104, allocations: 0 / 0.491 GB, free: 9.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1104, allocations: 4 kB / 0.491 GB, free: 9.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1104, allocations: 3.938 kB / 0.491 GB, free: 9.238 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.0003512/0.1108, allocations: 343.4 kB / 0.4913 GB, free: 8.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.1108, allocations: 19.89 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.1108, allocations: 0.9375 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.876e-05/0.1109, allocations: 164.4 kB / 0.4915 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.111, allocations: 384 / 0.4915 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.111, allocations: 384 / 0.4915 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.234e-05/0.1111, allocations: 34.02 kB / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1111, allocations: 0 / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1111, allocations: 0 / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1111, allocations: 0 / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.244e-05/0.1111, allocations: 7.938 kB / 0.4916 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.1113, allocations: 153.7 kB / 0.4917 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.14e-05/0.1113, allocations: 18.61 kB / 0.4917 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.1113, allocations: 6.312 kB / 0.4917 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.649e-06/0.1113, allocations: 4.062 kB / 0.4917 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1114, allocations: 34.5 kB / 0.4918 GB, free: 8.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1114, allocations: 0 / 0.4918 GB, free: 8.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001179/0.1115, allocations: 49.62 kB / 0.4918 GB, free: 8.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.1115, allocations: 51.41 kB / 0.4919 GB, free: 8.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.86e-05/0.1116, allocations: 89.86 kB / 0.492 GB, free: 8.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1116, allocations: 25.7 kB / 0.492 GB, free: 8.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.1116, allocations: 84.14 kB / 0.4921 GB, free: 7.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.1117, allocations: 3.906 kB / 0.4921 GB, free: 7.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.1117, allocations: 17.7 kB / 0.4921 GB, free: 7.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1118, allocations: 319.1 kB / 0.4924 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.1118, allocations: 0 / 0.4924 GB, free: 7.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-06/0.1118, allocations: 0 / 0.4924 GB, free: 7.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.474e-05/0.1119, allocations: 8.859 kB / 0.4924 GB, free: 7.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1119, allocations: 0 / 0.4924 GB, free: 7.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.823e-05/0.1119, allocations: 41.64 kB / 0.4924 GB, free: 7.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.112, allocations: 11.92 kB / 0.4924 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.112, allocations: 0 / 0.4924 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.112, allocations: 0 / 0.4924 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.1121, allocations: 8.094 kB / 0.4925 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1121, allocations: 0 / 0.4925 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.1121, allocations: 0 / 0.4925 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1121, allocations: 3.938 kB / 0.4925 GB, free: 7.547 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 6.729e-05/0.1122, allocations: 113.8 kB / 0.4926 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.1122, allocations: 3.938 kB / 0.4926 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.1123, allocations: 48.81 kB / 0.4926 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1123, allocations: 0 / 0.4926 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.1123, allocations: 11.88 kB / 0.4926 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.1124, allocations: 81.11 kB / 0.4927 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.1124, allocations: 0 / 0.4927 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.1124, allocations: 3.984 kB / 0.4927 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.1125, allocations: 0 / 0.4927 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.104e-05/0.1126, allocations: 109 kB / 0.4928 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001184/0.1127, allocations: 218.8 kB / 0.493 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.492e-05/0.1127, allocations: 0 / 0.493 GB, free: 6.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.31e-05/0.1127, allocations: 79.28 kB / 0.4931 GB, free: 6.828 MB / 382.1 MB Notification: Performance of Backend: time 6.11e-07/0.1127, allocations: 0 / 0.4931 GB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004729/0.1132, allocations: 122.1 kB / 0.4932 GB, free: 6.703 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003394/0.1136, allocations: 0.5621 MB / 0.4938 GB, free: 6.086 MB / 382.1 MB Notification: Performance of Templates: time 0.003159/0.1167, allocations: 1.097 MB / 0.4948 GB, free: 4.988 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches