Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007707/0.0007706, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.0008257/0.0008257, allocations: 171.8 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.2 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1864/0.1864, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003016, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1099, allocations: 61.92 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0006369/0.1106, allocations: 230.8 kB / 472.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00032/0.1109, allocations: 103.6 kB / 472.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.287e-05/0.111, allocations: 0 / 472.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.111, allocations: 0 / 472.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.817e-05/0.111, allocations: 0 / 472.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.1112, allocations: 19.94 kB / 472.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.603e-05/0.1112, allocations: 7.984 kB / 472.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.1113, allocations: 4 kB / 472.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.1113, allocations: 4 kB / 472.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.291e-05/0.1114, allocations: 15.91 kB / 472.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1114, allocations: 0 / 472.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.671e-05/0.1115, allocations: 31.97 kB / 472.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.1115, allocations: 0 / 472.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.1116, allocations: 37.62 kB / 472.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.029e-05/0.1117, allocations: 15.98 kB / 472.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1117, allocations: 11.98 kB / 472.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1117, allocations: 0 / 472.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1117, allocations: 0 / 472.7 MB, free: 12.88 MB / 350.1 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.0003983/0.1121, allocations: 319.6 kB / 473 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.1121, allocations: 11.97 kB / 473 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.1122, allocations: 4.922 kB / 473.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1123, allocations: 160.4 kB / 473.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1123, allocations: 4.375 kB / 473.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.1124, allocations: 4.375 kB / 473.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1125, allocations: 59.91 kB / 473.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1125, allocations: 192 / 473.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1125, allocations: 3.938 kB / 473.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1126, allocations: 0 / 473.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.604e-05/0.1126, allocations: 12 kB / 473.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.113, allocations: 337.2 kB / 473.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.106e-05/0.1131, allocations: 30.52 kB / 473.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.1131, allocations: 20.94 kB / 473.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1131, allocations: 0 / 473.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.1132, allocations: 30.56 kB / 473.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1132, allocations: 0 / 473.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001861/0.1134, allocations: 57.62 kB / 473.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.1134, allocations: 59.41 kB / 473.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.1135, allocations: 89.86 kB / 473.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1135, allocations: 25.7 kB / 473.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.1136, allocations: 92.08 kB / 474 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.256e-05/0.1136, allocations: 11.8 kB / 474 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.1136, allocations: 9.719 kB / 474 MB, free: 11.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1137, allocations: 318.8 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/0.1138, allocations: 4 kB / 474.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.1138, allocations: 25.83 kB / 474.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.988e-05/0.1139, allocations: 29.66 kB / 474.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1139, allocations: 0 / 474.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.782e-05/0.114, allocations: 57.62 kB / 474.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.114, allocations: 6.5 kB / 474.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.114, allocations: 240 / 474.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.114, allocations: 4 kB / 474.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.1141, allocations: 11.92 kB / 474.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1141, allocations: 8.031 kB / 474.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.1141, allocations: 3.906 kB / 474.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1142, allocations: 7.922 kB / 474.5 MB, free: 10.86 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.987e-05/0.1142, allocations: 117.8 kB / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.1143, allocations: 0 / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.1144, allocations: 57.31 kB / 474.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1144, allocations: 64 / 474.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1144, allocations: 4 kB / 474.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1144, allocations: 4 kB / 474.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.1146, allocations: 169.5 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1146, allocations: 0 / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.1146, allocations: 11.92 kB / 474.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1146, allocations: 0 / 474.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1146, allocations: 4 kB / 474.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1147, allocations: 0 / 474.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1147, allocations: 0 / 474.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.1148, allocations: 147.5 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.1148, allocations: 89.02 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.1149, allocations: 4 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.646e-05/0.1149, allocations: 0 / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.1149, allocations: 3.984 kB / 475.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1149, allocations: 4 kB / 475.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.939e-05/0.115, allocations: 75.28 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.115, allocations: 0 / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.1152, allocations: 4 kB / 475.2 MB, free: 10.07 MB / 350.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 (5): * Single equations (assignments): 5 * 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.0001258/0.1153, allocations: 115.3 kB / 475.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.636e-05/0.1154, allocations: 19.98 kB / 475.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1154, allocations: 0 / 475.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.1155, allocations: 19.94 kB / 475.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.1157, allocations: 10.11 kB / 475.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.1159, allocations: 117.7 kB / 475.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.1161, allocations: 0.6888 MB / 476.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.836e-05/0.1162, allocations: 0 / 476.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.1162, allocations: 11.44 kB / 476.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1162, allocations: 0 / 476.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of Templates: time 0.002286/0.1185, allocations: 426.4 kB / 476.6 MB, free: 8.621 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches