Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 178.6 kB / 16.08 MB, free: 5.523 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.411/1.411, allocations: 205.6 MB / 222.4 MB, free: 13.68 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.00074/0.00074, allocations: 86.31 kB / 270.8 MB, free: 13.2 MB / 234.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.2063/0.2063, allocations: 43.69 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.000285, allocations: 11.98 kB / 432.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09121/0.09151, allocations: 58.85 MB / 491.2 MB, free: 8.148 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0005705/0.09212, allocations: 224.7 kB / 491.4 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.09377, allocations: 1.496 MB / 492.9 MB, free: 6.391 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.362e-05/0.0938, allocations: 0 / 492.9 MB, free: 6.391 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.09382, allocations: 4 kB / 492.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.199e-05/0.09385, allocations: 0 / 492.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.09436, allocations: 151.7 kB / 493 MB, free: 6.238 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.229e-05/0.0944, allocations: 4 kB / 493 MB, free: 6.234 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.09444, allocations: 7.984 kB / 493 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.384e-05/0.09446, allocations: 0 / 493 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.09451, allocations: 7.938 kB / 493.1 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.597e-06/0.09452, allocations: 0 / 493.1 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.09489, allocations: 259.6 kB / 493.3 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.09491, allocations: 3.984 kB / 493.3 MB, free: 5.961 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.09495, allocations: 37.69 kB / 493.3 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.09515, allocations: 135.7 kB / 493.5 MB, free: 5.785 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.09516, allocations: 3.984 kB / 493.5 MB, free: 5.781 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09516, allocations: 0 / 493.5 MB, free: 5.781 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.09518, allocations: 0 / 493.5 MB, free: 5.781 MB / 330.7 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.0003024/0.09549, allocations: 331.5 kB / 493.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.09553, allocations: 8.031 kB / 493.8 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.09556, allocations: 8.922 kB / 493.8 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.944e-05/0.09567, allocations: 164.7 kB / 494 MB, free: 5.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.09569, allocations: 4.375 kB / 494 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.0957, allocations: 384 / 494 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.251e-05/0.0958, allocations: 41.95 kB / 494 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.09582, allocations: 3.984 kB / 494 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.09583, allocations: 0 / 494 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.09584, allocations: 0 / 494 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.153e-05/0.09587, allocations: 7.984 kB / 494 MB, free: 5.133 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.096, allocations: 145.7 kB / 494.2 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.593e-05/0.09604, allocations: 30.61 kB / 494.2 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.09607, allocations: 4.859 kB / 494.2 MB, free: 4.895 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.09608, allocations: 3.938 kB / 494.2 MB, free: 4.891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.09611, allocations: 42.55 kB / 494.3 MB, free: 4.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.09612, allocations: 0 / 494.3 MB, free: 4.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001161/0.09624, allocations: 29.7 kB / 494.3 MB, free: 4.805 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.09627, allocations: 55.41 kB / 494.3 MB, free: 4.738 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/0.09634, allocations: 97.98 kB / 494.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.09636, allocations: 25.7 kB / 494.5 MB, free: 4.602 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.09639, allocations: 80.14 kB / 494.5 MB, free: 4.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.09643, allocations: 15.83 kB / 494.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-06/0.09644, allocations: 0 / 494.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.09654, allocations: 310.8 kB / 494.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/0.09655, allocations: 0 / 494.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-06/0.09657, allocations: 7.938 kB / 494.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.23e-05/0.09659, allocations: 13.05 kB / 494.9 MB, free: 4.168 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.0966, allocations: 4 kB / 494.9 MB, free: 4.164 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.901e-05/0.09666, allocations: 29.7 kB / 494.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.09668, allocations: 7.938 kB / 494.9 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.09669, allocations: 7.984 kB / 494.9 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.09671, allocations: 0 / 494.9 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.022e-05/0.09676, allocations: 0 / 494.9 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.09677, allocations: 3.984 kB / 494.9 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.168e-05/0.09679, allocations: 3.938 kB / 494.9 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.0968, allocations: 8.031 kB / 494.9 MB, free: 4.098 MB / 330.7 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 5.702e-05/0.09687, allocations: 105.8 kB / 495.1 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.09688, allocations: 7.875 kB / 495.1 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.09699, allocations: 44.81 kB / 495.1 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.097, allocations: 0 / 495.1 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.09701, allocations: 4 kB / 495.1 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.09702, allocations: 7.969 kB / 495.1 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.578e-05/0.0971, allocations: 145.7 kB / 495.3 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.09711, allocations: 4 kB / 495.3 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-06/0.09712, allocations: 4 kB / 495.3 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.09713, allocations: 3.938 kB / 495.3 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.09713, allocations: 0 / 495.3 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.09714, allocations: 0 / 495.3 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.09715, allocations: 0 / 495.3 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.392e-05/0.09721, allocations: 65.06 kB / 495.3 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.09725, allocations: 81.05 kB / 495.4 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-06/0.09726, allocations: 0 / 495.4 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.338e-05/0.09733, allocations: 4 kB / 495.4 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.09735, allocations: 0 / 495.4 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.09736, allocations: 8 kB / 495.4 MB, free: 3.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.53e-05/0.0974, allocations: 75.28 kB / 495.5 MB, free: 3.445 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.0974, allocations: 0 / 495.5 MB, free: 3.445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000214/0.09762, allocations: 44.11 kB / 495.5 MB, free: 3.402 MB / 330.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.0002303/0.09786, allocations: 143.2 kB / 495.7 MB, free: 3.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.846e-05/0.09792, allocations: 11.98 kB / 495.7 MB, free: 3.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.09793, allocations: 0 / 495.7 MB, free: 3.242 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.09797, allocations: 33.64 kB / 495.7 MB, free: 3.203 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.09809, allocations: 1.719 kB / 495.7 MB, free: 3.203 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000172/0.09827, allocations: 90.92 kB / 495.8 MB, free: 3.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.09846, allocations: 0.6809 MB / 496.5 MB, free: 2.383 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.751e-05/0.09848, allocations: 4 kB / 496.5 MB, free: 2.379 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.086e-05/0.0985, allocations: 7.438 kB / 496.5 MB, free: 2.371 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.09851, allocations: 0 / 496.5 MB, free: 2.371 MB / 330.7 MB Notification: Performance of Templates: time 0.002704/0.1012, allocations: 1.059 MB / 497.6 MB, free: 1.312 MB / 330.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches