Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 171.5 kB / 16.08 MB, free: 5.719 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.6 MB / 222.4 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 90.73 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3076/0.3076, allocations: 43.67 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 8 kB / 432.3 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1016, allocations: 58.85 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0005538/0.1021, allocations: 228.4 kB / 491.4 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1039, allocations: 1.496 MB / 492.9 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.257e-05/0.104, allocations: 0 / 492.9 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.069e-05/0.104, allocations: 0 / 492.9 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.707e-05/0.104, allocations: 0 / 492.9 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00053/0.1046, allocations: 159.7 kB / 493 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.591e-05/0.1046, allocations: 7.984 kB / 493 MB, free: 8.117 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.1047, allocations: 4 kB / 493 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.652e-05/0.1047, allocations: 4 kB / 493 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.1048, allocations: 3.938 kB / 493.1 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.1048, allocations: 0 / 493.1 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.1052, allocations: 263.6 kB / 493.3 MB, free: 7.848 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.1052, allocations: 0 / 493.3 MB, free: 7.848 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.1052, allocations: 33.69 kB / 493.3 MB, free: 7.809 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.1054, allocations: 135.7 kB / 493.5 MB, free: 7.676 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1054, allocations: 4 kB / 493.5 MB, free: 7.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1055, allocations: 3.938 kB / 493.5 MB, free: 7.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.1055, allocations: 0 / 493.5 MB, free: 7.668 MB / 378.7 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.0003103/0.1058, allocations: 339.5 kB / 493.8 MB, free: 7.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1058, allocations: 8.031 kB / 493.8 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.1059, allocations: 4.844 kB / 493.8 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.708e-05/0.1059, allocations: 160.4 kB / 494 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.106, allocations: 384 / 494 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.106, allocations: 4.375 kB / 494 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.1061, allocations: 53.94 kB / 494 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1061, allocations: 0 / 494 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1061, allocations: 0 / 494 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1061, allocations: 0 / 494 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.415e-05/0.1062, allocations: 8 kB / 494 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.1066, allocations: 241.2 kB / 494.3 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.962e-05/0.1066, allocations: 18.58 kB / 494.3 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.1067, allocations: 12.8 kB / 494.3 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.1067, allocations: 0 / 494.3 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.1067, allocations: 34.62 kB / 494.3 MB, free: 6.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1067, allocations: 0 / 494.3 MB, free: 6.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.1069, allocations: 37.69 kB / 494.4 MB, free: 6.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.1069, allocations: 51.41 kB / 494.4 MB, free: 6.535 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.107, allocations: 101.9 kB / 494.5 MB, free: 6.426 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.107, allocations: 25.7 kB / 494.6 MB, free: 6.395 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.1071, allocations: 88.03 kB / 494.6 MB, free: 6.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.725e-06/0.1071, allocations: 11.98 kB / 494.7 MB, free: 6.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.1071, allocations: 0 / 494.7 MB, free: 6.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1072, allocations: 314.8 kB / 495 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/0.1072, allocations: 3.938 kB / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.1073, allocations: 22.56 kB / 495 MB, free: 5.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.631e-05/0.1073, allocations: 30.7 kB / 495 MB, free: 5.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1073, allocations: 0 / 495 MB, free: 5.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.299e-05/0.1074, allocations: 49.62 kB / 495.1 MB, free: 5.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1074, allocations: 4 kB / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1074, allocations: 0 / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1074, allocations: 7.938 kB / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.937e-05/0.1075, allocations: 12.08 kB / 495.1 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1075, allocations: 0 / 495.1 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.1075, allocations: 7.906 kB / 495.1 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1075, allocations: 3.938 kB / 495.1 MB, free: 5.812 MB / 378.7 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.865e-05/0.1076, allocations: 113.8 kB / 495.2 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.1076, allocations: 0 / 495.2 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.1078, allocations: 48.81 kB / 495.3 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1078, allocations: 7.875 kB / 495.3 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1078, allocations: 0 / 495.3 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1078, allocations: 0 / 495.3 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.1079, allocations: 149.6 kB / 495.4 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1079, allocations: 3.984 kB / 495.4 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.1079, allocations: 0 / 495.4 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.108, allocations: 0 / 495.4 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.108, allocations: 0 / 495.4 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.108, allocations: 0 / 495.4 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.108, allocations: 4 kB / 495.4 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.288e-05/0.1081, allocations: 131.5 kB / 495.6 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.1081, allocations: 81.11 kB / 495.6 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.1081, allocations: 3.984 kB / 495.6 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.288e-05/0.1082, allocations: 4 kB / 495.6 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.1082, allocations: 0 / 495.6 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.1082, allocations: 4 kB / 495.6 MB, free: 5.172 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.849e-05/0.1082, allocations: 83.31 kB / 495.7 MB, free: 5.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1082, allocations: 0 / 495.7 MB, free: 5.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.1085, allocations: 40 kB / 495.8 MB, free: 5.051 MB / 378.7 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.0002678/0.1088, allocations: 147.1 kB / 495.9 MB, free: 4.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.639e-05/0.1089, allocations: 12 kB / 495.9 MB, free: 4.887 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1089, allocations: 0 / 495.9 MB, free: 4.887 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.1089, allocations: 25.7 kB / 495.9 MB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.1091, allocations: 12.27 kB / 496 MB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002206/0.1093, allocations: 98.25 kB / 496.1 MB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.1096, allocations: 0.6731 MB / 496.7 MB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.544e-05/0.1096, allocations: 3.984 kB / 496.7 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.116e-05/0.1096, allocations: 7.438 kB / 496.7 MB, free: 4.016 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1096, allocations: 4 kB / 496.7 MB, free: 4.012 MB / 378.7 MB Notification: Performance of Templates: time 0.002843/0.1125, allocations: 1.047 MB / 497.8 MB, free: 2.965 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches