Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000827/0.0008272, allocations: 180.3 kB / 16.08 MB, free: 5.531 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.295/1.295, allocations: 205.6 MB / 222.4 MB, free: 13.66 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.0008158/0.0008166, allocations: 98.23 kB / 270.8 MB, free: 13.19 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.1789/0.1789, allocations: 43.69 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 8 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1044, allocations: 58.86 MB / 491.2 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006066/0.1051, allocations: 264.6 kB / 491.4 MB, free: 7.859 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007964/0.1059, allocations: 0.6447 MB / 492.1 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.62e-05/0.1059, allocations: 0 / 492.1 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.106, allocations: 0 / 492.1 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.471e-05/0.106, allocations: 3.938 kB / 492.1 MB, free: 7.152 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.1064, allocations: 103.8 kB / 492.2 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.897e-05/0.1064, allocations: 23.98 kB / 492.2 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.1065, allocations: 11.97 kB / 492.2 MB, free: 7.016 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.272e-05/0.1065, allocations: 15.94 kB / 492.2 MB, free: 7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.807e-05/0.1066, allocations: 19.92 kB / 492.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.1066, allocations: 0 / 492.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.1068, allocations: 151.8 kB / 492.4 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.1069, allocations: 11.92 kB / 492.4 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.1069, allocations: 41.58 kB / 492.5 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.1071, allocations: 132 kB / 492.6 MB, free: 6.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1071, allocations: 3.938 kB / 492.6 MB, free: 6.641 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1071, allocations: 0 / 492.6 MB, free: 6.641 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.1071, allocations: 4 kB / 492.6 MB, free: 6.637 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003377/0.1075, allocations: 355.5 kB / 492.9 MB, free: 6.242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1075, allocations: 8.031 kB / 492.9 MB, free: 6.234 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.1076, allocations: 8.844 kB / 493 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.1077, allocations: 164.3 kB / 493.1 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1077, allocations: 4.375 kB / 493.1 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.1077, allocations: 12.36 kB / 493.1 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.1078, allocations: 62.17 kB / 493.2 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1078, allocations: 3.938 kB / 493.2 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1079, allocations: 4 kB / 493.2 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1079, allocations: 8 kB / 493.2 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.024e-05/0.108, allocations: 39.95 kB / 493.2 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.1081, allocations: 177.6 kB / 493.4 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1082, allocations: 79.56 kB / 493.5 MB, free: 5.582 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.1083, allocations: 32.84 kB / 493.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.1085, allocations: 117 kB / 493.6 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1086, allocations: 38.5 kB / 493.7 MB, free: 5.367 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.1086, allocations: 0 / 493.7 MB, free: 5.367 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1118/0.2204, allocations: 5.835 MB / 499.5 MB, free: 15.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.2205, allocations: 59.27 kB / 499.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.2205, allocations: 89.86 kB / 499.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.2206, allocations: 33.7 kB / 499.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.2206, allocations: 80.52 kB / 499.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.611e-05/0.2207, allocations: 74.84 kB / 499.8 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/0.2207, allocations: 4 kB / 499.8 MB, free: 15.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2208, allocations: 330.9 kB / 0.4884 GB, free: 14.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.2212, allocations: 131.9 kB / 0.4886 GB, free: 14.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.2215, allocations: 137.3 kB / 0.4887 GB, free: 14.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.2229, allocations: 372 kB / 0.4891 GB, free: 14.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2229, allocations: 4 kB / 0.4891 GB, free: 14.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00112/0.224, allocations: 397.1 kB / 0.4894 GB, free: 13.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.224, allocations: 4 kB / 0.4894 GB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2241, allocations: 4 kB / 0.4894 GB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2241, allocations: 0 / 0.4894 GB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.2245, allocations: 91.91 kB / 0.4895 GB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.2245, allocations: 3.938 kB / 0.4895 GB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.2247, allocations: 39.97 kB / 0.4896 GB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.2247, allocations: 23.91 kB / 0.4896 GB, free: 13.58 MB / 346.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 (23): * Single equations (assignments): 23 * 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 0.0001018/0.2248, allocations: 117.8 kB / 0.4897 GB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.2249, allocations: 7.906 kB / 0.4897 GB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.2262, allocations: 484.7 kB / 0.4902 GB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2263, allocations: 4 kB / 0.4902 GB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.2263, allocations: 7.922 kB / 0.4902 GB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2263, allocations: 3.938 kB / 0.4902 GB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.2284, allocations: 0.868 MB / 0.491 GB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2284, allocations: 0 / 0.491 GB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.2287, allocations: 91.92 kB / 0.4911 GB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2287, allocations: 0 / 0.4911 GB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.2288, allocations: 19.98 kB / 0.4912 GB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2288, allocations: 0 / 0.4912 GB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2288, allocations: 4 kB / 0.4912 GB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.2299, allocations: 472.7 kB / 0.4916 GB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.2299, allocations: 85.02 kB / 0.4917 GB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.23, allocations: 0 / 0.4917 GB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.2302, allocations: 39.97 kB / 0.4917 GB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.2302, allocations: 19.92 kB / 0.4917 GB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.2302, allocations: 15.98 kB / 0.4918 GB, free: 11.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.804e-05/0.2303, allocations: 75.28 kB / 0.4918 GB, free: 11.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2303, allocations: 0 / 0.4918 GB, free: 11.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001614/0.2319, allocations: 0.6327 MB / 0.4925 GB, free: 10.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (23): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.002874/0.2348, allocations: 315 kB / 0.4928 GB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008642/0.2357, allocations: 307.6 kB / 0.493 GB, free: 9.918 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2357, allocations: 0 / 0.493 GB, free: 9.918 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.236, allocations: 151.9 kB / 0.4932 GB, free: 9.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.2363, allocations: 15.98 kB / 0.4932 GB, free: 9.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009573/0.2372, allocations: 418.2 kB / 0.4936 GB, free: 9.312 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.2375, allocations: 0.7011 MB / 0.4943 GB, free: 8.586 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003125/0.2378, allocations: 73.08 kB / 0.4944 GB, free: 8.516 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.2379, allocations: 43.41 kB / 0.4944 GB, free: 8.473 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2379, allocations: 0 / 0.4944 GB, free: 8.473 MB / 346.7 MB Notification: Performance of Templates: time 0.2585/0.4964, allocations: 53.84 MB / 0.547 GB, free: 24.66 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches