Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 104.3 kB / 16.4 MB, free: 6.504 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.001128/0.001128, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.327/1.327, 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.2027/0.2027, allocations: 43.52 MB / 314.1 MB, free: 456 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.00131/0.00131, allocations: 69.45 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1092, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001528/0.1108, allocations: 0.5377 MB / 0.4884 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009244/0.1117, allocations: 413.6 kB / 0.4888 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.1118, allocations: 4 kB / 0.4888 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.1118, allocations: 3.938 kB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.112, allocations: 0 / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.1134, allocations: 147.5 kB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1136, allocations: 27.97 kB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.1137, allocations: 0 / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.297e-05/0.1138, allocations: 15.94 kB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1139, allocations: 23.91 kB / 0.489 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.114, allocations: 4 kB / 0.489 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.1142, allocations: 163.8 kB / 0.4892 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.1143, allocations: 7.938 kB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.1143, allocations: 11.94 kB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.1145, allocations: 139.6 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1145, allocations: 0 / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1145, allocations: 0 / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1145, allocations: 0 / 0.4893 GB, free: 10.31 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003744/0.1149, allocations: 367.4 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1149, allocations: 8.031 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.115, allocations: 12.84 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1151, allocations: 168.4 kB / 0.4898 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1151, allocations: 4.375 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1151, allocations: 8.375 kB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1153, allocations: 66.17 kB / 0.4899 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1153, allocations: 3.938 kB / 0.4899 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1153, allocations: 7.938 kB / 0.4899 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1153, allocations: 4 kB / 0.4899 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.1154, allocations: 39.95 kB / 0.49 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.1156, allocations: 185.5 kB / 0.4902 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1157, allocations: 82.55 kB / 0.4902 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.1158, allocations: 32.84 kB / 0.4903 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.116, allocations: 101.1 kB / 0.4904 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1161, allocations: 34.5 kB / 0.4904 GB, free: 9.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.1161, allocations: 4 kB / 0.4904 GB, free: 9.027 MB / 382.1 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.1296/0.2457, allocations: 5.618 MB / 0.4959 GB, free: 3.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.2457, allocations: 55.41 kB / 0.4959 GB, free: 3.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.332e-05/0.2458, allocations: 93.86 kB / 0.496 GB, free: 3.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.2458, allocations: 33.7 kB / 0.4961 GB, free: 3.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.443e-05/0.2459, allocations: 80.52 kB / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.2459, allocations: 78.83 kB / 0.4962 GB, free: 3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.929e-05/0.246, allocations: 57.67 kB / 0.4963 GB, free: 2.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.2461, allocations: 322.8 kB / 0.4966 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.2465, allocations: 116 kB / 0.4967 GB, free: 2.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.2468, allocations: 115.8 kB / 0.4968 GB, free: 2.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.2481, allocations: 320.6 kB / 0.4971 GB, free: 2.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.2482, allocations: 0 / 0.4971 GB, free: 2.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001103/0.2493, allocations: 361.6 kB / 0.4974 GB, free: 1.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2493, allocations: 4 kB / 0.4974 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2493, allocations: 0 / 0.4974 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2493, allocations: 4 kB / 0.4975 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.2497, allocations: 83.91 kB / 0.4975 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2497, allocations: 7.938 kB / 0.4975 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.2499, allocations: 19.97 kB / 0.4976 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.2499, allocations: 23.92 kB / 0.4976 GB, free: 1.57 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 (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 9.528e-05/0.25, allocations: 121.8 kB / 0.4977 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.2501, allocations: 7.906 kB / 0.4977 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.2514, allocations: 437.8 kB / 0.4981 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2514, allocations: 3.984 kB / 0.4981 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2514, allocations: 7.938 kB / 0.4981 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2514, allocations: 0 / 0.4981 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.2535, allocations: 0.7688 MB / 0.4989 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2535, allocations: 7.938 kB / 0.4989 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.2538, allocations: 75.86 kB / 0.499 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2538, allocations: 0 / 0.499 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.2538, allocations: 15.98 kB / 0.499 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2538, allocations: 4 kB / 0.499 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2538, allocations: 64 / 0.499 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.2549, allocations: 428.7 kB / 0.4994 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.255, allocations: 85.02 kB / 0.4995 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.255, allocations: 4 kB / 0.4995 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.2552, allocations: 23.97 kB / 0.4995 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.2552, allocations: 19.86 kB / 0.4995 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.2552, allocations: 19.98 kB / 0.4995 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.625e-05/0.2553, allocations: 75.28 kB / 0.4996 GB, free: 15.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2553, allocations: 0 / 0.4996 GB, free: 15.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001468/0.2567, allocations: 0.6288 MB / 0.5002 GB, free: 14.73 MB / 398.1 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.002807/0.2596, allocations: 288.5 kB / 0.5005 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007624/0.2603, allocations: 264.3 kB / 0.5008 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2603, allocations: 0 / 0.5008 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.2607, allocations: 139.9 kB / 0.5009 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.2609, allocations: 8 kB / 0.5009 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008949/0.2618, allocations: 335.3 kB / 0.5012 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.2621, allocations: 0.6969 MB / 0.5019 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002279/0.2624, allocations: 85.02 kB / 0.502 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.2625, allocations: 47.39 kB / 0.502 GB, free: 12.82 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2625, allocations: 0 / 0.502 GB, free: 12.82 MB / 398.1 MB Notification: Performance of Templates: time 0.2548/0.5173, allocations: 53.88 MB / 0.5546 GB, free: 26.05 MB / 414.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches