Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_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_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.0008757/0.0008756, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008969/0.0008967, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.504/1.504, allocations: 205.4 MB / 223.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3466/0.3466, allocations: 43.57 MB / 315 MB, free: 8.746 MB / 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.0005179/0.0005179, allocations: 20 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1241, allocations: 58.85 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.000585/0.1247, allocations: 240.4 kB / 443.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002953/0.125, allocations: 93.36 kB / 443.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.229e-05/0.125, allocations: 0 / 443.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.099e-05/0.1251, allocations: 0 / 443.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.036e-05/0.1251, allocations: 3.938 kB / 443.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.1253, allocations: 19.97 kB / 443.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.143e-05/0.1253, allocations: 15.92 kB / 443.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.1254, allocations: 4 kB / 443.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.494e-05/0.1254, allocations: 7.938 kB / 443.8 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.1255, allocations: 11.92 kB / 443.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1255, allocations: 0 / 443.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.297e-05/0.1256, allocations: 27.97 kB / 443.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.1256, allocations: 4 kB / 443.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.1256, allocations: 33.64 kB / 443.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.355e-05/0.1257, allocations: 27.95 kB / 443.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1257, allocations: 4 kB / 443.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1257, allocations: 0 / 443.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1257, allocations: 0 / 443.9 MB, free: 12.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003305/0.1261, allocations: 327.5 kB / 444.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1261, allocations: 8.031 kB / 444.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.1261, allocations: 0.9375 kB / 444.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1263, allocations: 168.6 kB / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1263, allocations: 384 / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.1263, allocations: 4.375 kB / 444.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.1264, allocations: 59.95 kB / 444.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.1264, allocations: 4.125 kB / 444.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1265, allocations: 15.92 kB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1265, allocations: 3.938 kB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.064e-05/0.1265, allocations: 4 kB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.1268, allocations: 321.1 kB / 444.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.139e-05/0.1269, allocations: 38.48 kB / 444.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.535e-05/0.1269, allocations: 8.859 kB / 444.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.1269, allocations: 0 / 444.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1269, allocations: 38.56 kB / 444.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.1269, allocations: 0 / 444.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001727/0.1271, allocations: 49.78 kB / 445 MB, free: 10.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.1272, allocations: 55.41 kB / 445 MB, free: 10.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.373e-05/0.1272, allocations: 109.7 kB / 445.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.1273, allocations: 25.7 kB / 445.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.1273, allocations: 80.14 kB / 445.2 MB, free: 10.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.1273, allocations: 11.81 kB / 445.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.1273, allocations: 13.72 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.1274, allocations: 314.8 kB / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.1275, allocations: 8 kB / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.1275, allocations: 17.84 kB / 445.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.079e-05/0.1275, allocations: 33.7 kB / 445.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1276, allocations: 3.938 kB / 445.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.02e-05/0.1277, allocations: 57.56 kB / 445.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1277, allocations: 8 kB / 445.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.1277, allocations: 0 / 445.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1277, allocations: 0 / 445.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.1278, allocations: 12.03 kB / 445.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1278, allocations: 0 / 445.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.1278, allocations: 7.938 kB / 445.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1278, allocations: 4 kB / 445.7 MB, free: 10.18 MB / 382.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 6.065e-05/0.1279, allocations: 113.7 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.1279, allocations: 0 / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.128, allocations: 65.17 kB / 445.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.128, allocations: 0 / 445.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1281, allocations: 0 / 445.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1281, allocations: 8 kB / 445.9 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.1282, allocations: 165.5 kB / 446 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1282, allocations: 0 / 446 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.1283, allocations: 8 kB / 446.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1283, allocations: 0 / 446.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.1283, allocations: 0 / 446.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.1283, allocations: 4.172 kB / 446.1 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1283, allocations: 3.938 kB / 446.1 MB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.1284, allocations: 163.5 kB / 446.2 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.1285, allocations: 77.34 kB / 446.3 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.1285, allocations: 3.984 kB / 446.3 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.1285, allocations: 0 / 446.3 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.1286, allocations: 7.984 kB / 446.3 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.1286, allocations: 0 / 446.3 MB, free: 9.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.932e-05/0.1286, allocations: 79.28 kB / 446.4 MB, free: 9.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1286, allocations: 0 / 446.4 MB, free: 9.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.1288, allocations: 8 kB / 446.4 MB, free: 9.379 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 (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.0001193/0.1289, allocations: 107.3 kB / 446.5 MB, free: 9.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.168e-05/0.129, allocations: 23.94 kB / 446.5 MB, free: 9.242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1291, allocations: 4 kB / 446.5 MB, free: 9.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.741e-05/0.1291, allocations: 11.98 kB / 446.5 MB, free: 9.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.1293, allocations: 11.94 kB / 446.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.1295, allocations: 114.6 kB / 446.7 MB, free: 9.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.1298, allocations: 0.681 MB / 447.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.609e-05/0.1298, allocations: 7.984 kB / 447.4 MB, free: 8.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.1298, allocations: 7.438 kB / 447.4 MB, free: 8.355 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1298, allocations: 3.938 kB / 447.4 MB, free: 8.352 MB / 382.1 MB Notification: Performance of Templates: time 0.002379/0.1322, allocations: 434.2 kB / 447.8 MB, free: 7.93 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches