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.001243/0.001243, allocations: 113 kB / 17.09 MB, free: 5.785 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.001179/0.001179, allocations: 198 kB / 18.03 MB, free: 4.902 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.358/1.358, 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.2255/0.2255, allocations: 43.53 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.001533/0.001533, allocations: 77.39 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09757/0.09912, allocations: 57.77 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0015/0.1007, allocations: 0.495 MB / 0.489 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1024, allocations: 1.394 MB / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.1025, allocations: 0 / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.1025, allocations: 0 / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.359e-05/0.1025, allocations: 3.938 kB / 0.4904 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006987/0.1032, allocations: 216 kB / 0.4906 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.838e-05/0.1033, allocations: 7.984 kB / 0.4906 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.1033, allocations: 0 / 0.4906 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.927e-05/0.1034, allocations: 11.98 kB / 0.4906 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.619e-05/0.1034, allocations: 3.938 kB / 0.4906 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1034, allocations: 0 / 0.4906 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.1039, allocations: 279.6 kB / 0.4909 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.1039, allocations: 3.984 kB / 0.4909 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.1039, allocations: 4 kB / 0.4909 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.1042, allocations: 139.7 kB / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1042, allocations: 0 / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1042, allocations: 3.938 kB / 0.491 GB, free: 9.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.1042, allocations: 0 / 0.491 GB, free: 9.25 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.0003507/0.1045, allocations: 346.8 kB / 0.4913 GB, free: 8.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1046, allocations: 11.89 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.1046, allocations: 0.9375 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.464e-05/0.1047, allocations: 168.3 kB / 0.4915 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.1047, allocations: 384 / 0.4915 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.1047, allocations: 4.375 kB / 0.4915 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.1049, allocations: 49.92 kB / 0.4916 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.1049, allocations: 0 / 0.4916 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1049, allocations: 0 / 0.4916 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1049, allocations: 4 kB / 0.4916 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/0.1049, allocations: 8 kB / 0.4916 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.1053, allocations: 244.9 kB / 0.4918 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.498e-05/0.1053, allocations: 19.97 kB / 0.4918 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/0.1053, allocations: 4.859 kB / 0.4918 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.1053, allocations: 4.062 kB / 0.4918 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1054, allocations: 34.56 kB / 0.4919 GB, free: 8.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1054, allocations: 0 / 0.4919 GB, free: 8.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001373/0.1055, allocations: 33.78 kB / 0.4919 GB, free: 8.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.1056, allocations: 55.44 kB / 0.492 GB, free: 8.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.048e-05/0.1056, allocations: 93.86 kB / 0.4921 GB, free: 8.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1056, allocations: 29.7 kB / 0.4921 GB, free: 7.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.1057, allocations: 88.09 kB / 0.4922 GB, free: 7.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.241e-06/0.1057, allocations: 3.953 kB / 0.4922 GB, free: 7.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.1057, allocations: 17.7 kB / 0.4922 GB, free: 7.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.1058, allocations: 314.8 kB / 0.4925 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.1058, allocations: 8.062 kB / 0.4925 GB, free: 7.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.206e-05/0.1059, allocations: 18.58 kB / 0.4925 GB, free: 7.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.1059, allocations: 30.52 kB / 0.4925 GB, free: 7.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1059, allocations: 0 / 0.4925 GB, free: 7.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.272e-05/0.106, allocations: 53.62 kB / 0.4926 GB, free: 7.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.106, allocations: 4 kB / 0.4926 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.106, allocations: 4 kB / 0.4926 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1061, allocations: 3.938 kB / 0.4926 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.789e-05/0.1061, allocations: 11.98 kB / 0.4926 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1061, allocations: 0 / 0.4926 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.1061, allocations: 4 kB / 0.4926 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1062, allocations: 3.938 kB / 0.4926 GB, free: 7.371 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 6.283e-05/0.1062, allocations: 117.8 kB / 0.4927 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.1063, allocations: 4 kB / 0.4927 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.1064, allocations: 44.81 kB / 0.4928 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1064, allocations: 7.875 kB / 0.4928 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1064, allocations: 0 / 0.4928 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.1064, allocations: 81.06 kB / 0.4929 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1064, allocations: 4 kB / 0.4929 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.578e-05/0.1065, allocations: 0 / 0.4929 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.1065, allocations: 7.969 kB / 0.4929 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.673e-05/0.1066, allocations: 109 kB / 0.493 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001232/0.1067, allocations: 206.8 kB / 0.4932 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.546e-05/0.1067, allocations: 4.094 kB / 0.4932 GB, free: 6.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.901e-05/0.1068, allocations: 83.33 kB / 0.4933 GB, free: 6.652 MB / 382.1 MB Notification: Performance of Backend: time 3.2e-07/0.1068, allocations: 0 / 0.4933 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004799/0.1073, allocations: 126.3 kB / 0.4934 GB, free: 6.52 MB / 382.1 MB Notification: Performance of SimCode: time 0.0003535/0.1076, allocations: 0.5658 MB / 0.4939 GB, free: 5.898 MB / 382.1 MB Notification: Performance of Templates: time 0.003324/0.111, allocations: 1.081 MB / 0.495 GB, free: 4.82 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