Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 100.8 kB / 17.08 MB, free: 5.988 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.001296/0.001296, allocations: 199.3 kB / 18.02 MB, free: 5.07 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.367/1.367, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2223/0.2223, allocations: 43.51 MB / 314.8 MB, free: 460 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.001422/0.001422, allocations: 67.88 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1167, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.002277/0.119, allocations: 0.5027 MB / 0.489 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.1221, allocations: 1.394 MB / 0.4904 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.1222, allocations: 0 / 0.4904 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.1222, allocations: 0 / 0.4904 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.388e-05/0.1223, allocations: 4 kB / 0.4904 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008911/0.1232, allocations: 215.9 kB / 0.4906 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.91e-05/0.1232, allocations: 7.984 kB / 0.4906 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.1233, allocations: 8 kB / 0.4906 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.111e-05/0.1233, allocations: 3.984 kB / 0.4906 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.1234, allocations: 7.938 kB / 0.4906 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1234, allocations: 0 / 0.4906 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005603/0.124, allocations: 271.6 kB / 0.4909 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.124, allocations: 7.922 kB / 0.4909 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.124, allocations: 8 kB / 0.4909 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.1243, allocations: 135.7 kB / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1243, allocations: 0 / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1243, allocations: 0 / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.1243, allocations: 0 / 0.491 GB, free: 9.234 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004463/0.1248, allocations: 347.4 kB / 0.4913 GB, free: 8.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1248, allocations: 11.89 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.1249, allocations: 8.844 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.125, allocations: 164.4 kB / 0.4915 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.125, allocations: 384 / 0.4915 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.125, allocations: 4.359 kB / 0.4915 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1252, allocations: 46 kB / 0.4916 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1252, allocations: 0 / 0.4916 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1252, allocations: 0 / 0.4916 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1252, allocations: 0 / 0.4916 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.562e-05/0.1253, allocations: 7.938 kB / 0.4916 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.1257, allocations: 252.9 kB / 0.4918 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.556e-05/0.1257, allocations: 16.03 kB / 0.4918 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.102e-05/0.1258, allocations: 8.922 kB / 0.4918 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.1258, allocations: 0 / 0.4918 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1258, allocations: 30.56 kB / 0.4919 GB, free: 8.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.1258, allocations: 0 / 0.4919 GB, free: 8.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001829/0.126, allocations: 41.62 kB / 0.4919 GB, free: 8.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1261, allocations: 59.53 kB / 0.492 GB, free: 8.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.397e-05/0.1262, allocations: 93.86 kB / 0.4921 GB, free: 7.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1262, allocations: 25.7 kB / 0.4921 GB, free: 7.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.1262, allocations: 84.05 kB / 0.4922 GB, free: 7.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.725e-06/0.1263, allocations: 0 / 0.4922 GB, free: 7.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.1263, allocations: 21.7 kB / 0.4922 GB, free: 7.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1265, allocations: 310.8 kB / 0.4925 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.1265, allocations: 8.125 kB / 0.4925 GB, free: 7.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.1265, allocations: 22.58 kB / 0.4925 GB, free: 7.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.018e-05/0.1266, allocations: 26.45 kB / 0.4925 GB, free: 7.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1266, allocations: 0 / 0.4925 GB, free: 7.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.614e-05/0.1267, allocations: 57.56 kB / 0.4926 GB, free: 7.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1267, allocations: 8 kB / 0.4926 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1267, allocations: 0 / 0.4926 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1267, allocations: 0 / 0.4926 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.965e-05/0.1268, allocations: 7.984 kB / 0.4926 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.1268, allocations: 4 kB / 0.4926 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.1268, allocations: 3.938 kB / 0.4926 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.1268, allocations: 4 kB / 0.4926 GB, free: 7.355 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 8.452e-05/0.1269, allocations: 121.7 kB / 0.4927 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.127, allocations: 4.062 kB / 0.4927 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.1271, allocations: 40.81 kB / 0.4928 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1271, allocations: 0 / 0.4928 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.1271, allocations: 8 kB / 0.4928 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.1272, allocations: 81.05 kB / 0.4929 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.1272, allocations: 0 / 0.4929 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.021e-05/0.1273, allocations: 0 / 0.4929 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.1273, allocations: 7.969 kB / 0.4929 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.794e-05/0.1274, allocations: 121 kB / 0.493 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001427/0.1275, allocations: 206.8 kB / 0.4932 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.736e-05/0.1276, allocations: 0 / 0.4932 GB, free: 6.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.52e-05/0.1276, allocations: 83.27 kB / 0.4933 GB, free: 6.633 MB / 382.1 MB Notification: Performance of Backend: time 6.11e-07/0.1276, allocations: 4.156 kB / 0.4933 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005786/0.1282, allocations: 121.8 kB / 0.4934 GB, free: 6.504 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004323/0.1287, allocations: 0.5736 MB / 0.4939 GB, free: 5.875 MB / 382.1 MB Notification: Performance of Templates: time 0.003719/0.1324, allocations: 1.081 MB / 0.495 GB, free: 4.797 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches