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.001099/0.0011, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.000974/0.0009742, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.368/1.368, allocations: 205.1 MB / 223.2 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.235/0.235, allocations: 43.51 MB / 314.1 MB, free: 464 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.001572/0.001572, allocations: 59.91 kB / 441.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1438, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.002227/0.1461, allocations: 0.491 MB / 0.4883 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.1483, allocations: 1.385 MB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.1484, allocations: 0 / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.1485, allocations: 3.938 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.273e-05/0.1485, allocations: 0 / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008705/0.1494, allocations: 228 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.827e-05/0.1495, allocations: 11.94 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.1495, allocations: 4 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.485e-05/0.1496, allocations: 7.984 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.1496, allocations: 7.922 kB / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1496, allocations: 0 / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005342/0.1502, allocations: 271.6 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.1502, allocations: 7.984 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.1502, allocations: 0 / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.1506, allocations: 139.7 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1506, allocations: 0 / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1506, allocations: 4 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.1506, allocations: 0 / 0.4904 GB, free: 9.246 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.0005931/0.1512, allocations: 343.3 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.1513, allocations: 15.89 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.1513, allocations: 8.922 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1515, allocations: 164.3 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.1516, allocations: 384 / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.1516, allocations: 384 / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1517, allocations: 38.02 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1518, allocations: 0 / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1518, allocations: 0 / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1518, allocations: 4 kB / 0.4909 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.1518, allocations: 3.984 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.152, allocations: 149.7 kB / 0.491 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.282e-05/0.1521, allocations: 22.52 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.1522, allocations: 8.922 kB / 0.4911 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.1522, allocations: 0 / 0.4911 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.1522, allocations: 38.48 kB / 0.4911 GB, free: 8.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1522, allocations: 0 / 0.4911 GB, free: 8.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001998/0.1524, allocations: 33.7 kB / 0.4911 GB, free: 8.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.1525, allocations: 55.53 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.1526, allocations: 97.86 kB / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1526, allocations: 29.64 kB / 0.4913 GB, free: 8.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.1527, allocations: 80.14 kB / 0.4914 GB, free: 7.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.1527, allocations: 3.906 kB / 0.4914 GB, free: 7.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.1528, allocations: 17.7 kB / 0.4914 GB, free: 7.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1529, allocations: 314.8 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.153, allocations: 4.125 kB / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-06/0.153, allocations: 0 / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.009e-05/0.153, allocations: 8.859 kB / 0.4917 GB, free: 7.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.153, allocations: 0 / 0.4917 GB, free: 7.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.695e-05/0.1531, allocations: 37.69 kB / 0.4918 GB, free: 7.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1531, allocations: 7.938 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1531, allocations: 0 / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1531, allocations: 4 kB / 0.4918 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.1532, allocations: 3.938 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1533, allocations: 4.094 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.701e-05/0.1533, allocations: 0 / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1533, allocations: 3.938 kB / 0.4918 GB, free: 7.551 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 9.095e-05/0.1534, allocations: 117.8 kB / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.1534, allocations: 3.938 kB / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.1536, allocations: 48.81 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1536, allocations: 0 / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1536, allocations: 0 / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1536, allocations: 7.938 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.1537, allocations: 149.7 kB / 0.4921 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.1537, allocations: 0 / 0.4921 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.1537, allocations: 0 / 0.4921 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1537, allocations: 7.938 kB / 0.4921 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1537, allocations: 0 / 0.4921 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1537, allocations: 0 / 0.4921 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1537, allocations: 3.938 kB / 0.4921 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.652e-05/0.1538, allocations: 61.16 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.1539, allocations: 85.05 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.1539, allocations: 0 / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.154, allocations: 4 kB / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.154, allocations: 3.984 kB / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.154, allocations: 0 / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.117e-05/0.1541, allocations: 87.3 kB / 0.4923 GB, free: 6.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1541, allocations: 0 / 0.4923 GB, free: 6.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003324/0.1544, allocations: 32 kB / 0.4924 GB, free: 6.844 MB / 382.1 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.0002893/0.1547, allocations: 143.2 kB / 0.4925 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.1548, allocations: 7.938 kB / 0.4925 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.1549, allocations: 0 / 0.4925 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.1549, allocations: 29.7 kB / 0.4925 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.1551, allocations: 6.312 kB / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.1553, allocations: 100.8 kB / 0.4926 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.1557, allocations: 0.6729 MB / 0.4933 GB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.596e-05/0.1557, allocations: 0 / 0.4933 GB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.1557, allocations: 7.438 kB / 0.4933 GB, free: 5.816 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1557, allocations: 0 / 0.4933 GB, free: 5.816 MB / 382.1 MB Notification: Performance of Templates: time 0.003768/0.1595, allocations: 1.077 MB / 0.4944 GB, free: 4.738 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/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