Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001445/0.001445, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007314/0.0007314, allocations: 96.95 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3165/0.3165, allocations: 43.56 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003622, allocations: 16 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1138, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0006223/0.1145, allocations: 232.4 kB / 490.5 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000284/0.1148, allocations: 89.31 kB / 490.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.84e-05/0.1148, allocations: 0 / 490.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.1148, allocations: 0 / 490.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.204e-05/0.1148, allocations: 0 / 490.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.115, allocations: 19.92 kB / 490.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.397e-05/0.1151, allocations: 15.98 kB / 490.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.1152, allocations: 0 / 490.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.1152, allocations: 4 kB / 490.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/0.1152, allocations: 15.84 kB / 490.6 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1153, allocations: 4 kB / 490.6 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-05/0.1154, allocations: 27.97 kB / 490.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.324e-06/0.1154, allocations: 0 / 490.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.1154, allocations: 29.7 kB / 490.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 6.286e-05/0.1155, allocations: 15.97 kB / 490.7 MB, free: 10.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1155, allocations: 0 / 490.7 MB, free: 10.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1155, allocations: 4 kB / 490.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1155, allocations: 4 kB / 490.7 MB, free: 10.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000349/0.1159, allocations: 323.3 kB / 491 MB, free: 10.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1159, allocations: 19.94 kB / 491 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.1159, allocations: 0 / 491 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.116, allocations: 163.3 kB / 491.2 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1161, allocations: 8 kB / 491.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.1161, allocations: 3.984 kB / 491.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.1162, allocations: 59.34 kB / 491.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1162, allocations: 0 / 491.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1162, allocations: 0 / 491.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1162, allocations: 0 / 491.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.824e-05/0.1163, allocations: 12 kB / 491.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.1166, allocations: 333 kB / 491.6 MB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.643e-05/0.1167, allocations: 22.58 kB / 491.6 MB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.026e-05/0.1167, allocations: 20.94 kB / 491.6 MB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.1167, allocations: 0 / 491.6 MB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1168, allocations: 30.56 kB / 491.7 MB, free: 9.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1168, allocations: 0 / 491.7 MB, free: 9.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001833/0.117, allocations: 57.62 kB / 491.7 MB, free: 9.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.117, allocations: 55.36 kB / 491.8 MB, free: 9.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.111e-05/0.1171, allocations: 97.86 kB / 491.9 MB, free: 9.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1171, allocations: 25.7 kB / 491.9 MB, free: 9.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.1172, allocations: 88.05 kB / 492 MB, free: 9.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.1172, allocations: 19.73 kB / 492 MB, free: 9.246 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.1172, allocations: 0 / 492 MB, free: 9.246 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.1173, allocations: 314.8 kB / 492.3 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.1173, allocations: 4 kB / 492.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.1174, allocations: 21.83 kB / 492.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.1174, allocations: 12 kB / 492.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1174, allocations: 0 / 492.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.99e-05/0.1175, allocations: 57.62 kB / 492.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1175, allocations: 6.344 kB / 492.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1175, allocations: 0 / 492.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1175, allocations: 4 kB / 492.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.608e-05/0.1176, allocations: 4 kB / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1176, allocations: 4.125 kB / 492.4 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.1177, allocations: 7.953 kB / 492.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1177, allocations: 4.031 kB / 492.4 MB, free: 8.797 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.1178, allocations: 125.7 kB / 492.5 MB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.1178, allocations: 0 / 492.5 MB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.1179, allocations: 57.19 kB / 492.6 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1179, allocations: 0 / 492.6 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1179, allocations: 0 / 492.6 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1179, allocations: 0 / 492.6 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.1181, allocations: 173.5 kB / 492.8 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1181, allocations: 4 kB / 492.8 MB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.834e-05/0.1182, allocations: 8 kB / 492.8 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1182, allocations: 0 / 492.8 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.1182, allocations: 4 kB / 492.8 MB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1182, allocations: 3.938 kB / 492.8 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1182, allocations: 3.984 kB / 492.8 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.1183, allocations: 143.5 kB / 492.9 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.1184, allocations: 81.33 kB / 493 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1184, allocations: 8 kB / 493 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.747e-05/0.1184, allocations: 4 kB / 493 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.1185, allocations: 3.984 kB / 493 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1185, allocations: 0 / 493 MB, free: 8.086 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.012e-05/0.1185, allocations: 79.28 kB / 493.1 MB, free: 8.008 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1185, allocations: 3.938 kB / 493.1 MB, free: 8.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.1187, allocations: 4 kB / 493.1 MB, free: 8 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001119/0.1188, allocations: 103.2 kB / 493.2 MB, free: 7.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.097e-05/0.1189, allocations: 28.03 kB / 493.2 MB, free: 7.863 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.119, allocations: 0 / 493.2 MB, free: 7.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.475e-05/0.119, allocations: 16.11 kB / 493.3 MB, free: 7.848 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.1192, allocations: 7.953 kB / 493.3 MB, free: 7.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/0.1194, allocations: 140.4 kB / 493.4 MB, free: 7.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.1197, allocations: 0.677 MB / 494.1 MB, free: 6.965 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.1197, allocations: 11.44 kB / 494.1 MB, free: 6.953 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1197, allocations: 4.062 kB / 494.1 MB, free: 6.949 MB / 378.7 MB Notification: Performance of Templates: time 0.001676/0.1214, allocations: 0.5674 MB / 494.7 MB, free: 6.383 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches