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.001446/0.001446, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001636/0.001636, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.338/1.338, allocations: 222.9 MB / 243 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1953/0.1953, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 64.73 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1178, allocations: 60.81 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.00211/0.1199, allocations: 0.5104 MB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002634/0.1202, allocations: 95.61 kB / 471.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.1203, allocations: 4 kB / 471.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.1203, allocations: 3.938 kB / 471.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.008e-05/0.1203, allocations: 4 kB / 471.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.1205, allocations: 11.97 kB / 471.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.959e-05/0.1206, allocations: 15.92 kB / 471.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.1207, allocations: 4 kB / 471.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.243e-05/0.1207, allocations: 3.984 kB / 471.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.1207, allocations: 11.94 kB / 471.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1208, allocations: 0 / 471.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-05/0.1208, allocations: 31.97 kB / 471.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.1209, allocations: 3.984 kB / 471.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.1209, allocations: 7.938 kB / 471.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.642e-05/0.121, allocations: 27.95 kB / 471.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.121, allocations: 4 kB / 471.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.121, allocations: 0 / 471.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.121, allocations: 0 / 471.4 MB, free: 12.91 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.0003493/0.1214, allocations: 334.4 kB / 471.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1214, allocations: 8.031 kB / 471.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.1214, allocations: 0.9375 kB / 471.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.523e-05/0.1215, allocations: 160.4 kB / 471.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.1216, allocations: 4.375 kB / 471.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.1216, allocations: 8.375 kB / 471.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.1217, allocations: 55.91 kB / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1217, allocations: 192 / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1217, allocations: 3.938 kB / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1218, allocations: 0 / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.537e-05/0.1218, allocations: 15.98 kB / 472 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.1221, allocations: 329 kB / 472.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.124e-05/0.1222, allocations: 26.59 kB / 472.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.1222, allocations: 24.83 kB / 472.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1222, allocations: 0 / 472.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.1223, allocations: 30.56 kB / 472.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1223, allocations: 0 / 472.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001654/0.1224, allocations: 53.69 kB / 472.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.1225, allocations: 63.34 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.89e-05/0.1225, allocations: 89.86 kB / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1226, allocations: 29.69 kB / 472.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.1226, allocations: 90.64 kB / 472.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.1226, allocations: 7.812 kB / 472.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.1227, allocations: 17.72 kB / 472.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.732e-05/0.1228, allocations: 310.8 kB / 473 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.1228, allocations: 20.05 kB / 473.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.1228, allocations: 17.72 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.091e-05/0.1229, allocations: 25.72 kB / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1229, allocations: 3.984 kB / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.125e-05/0.123, allocations: 57.58 kB / 473.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.123, allocations: 7.984 kB / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.123, allocations: 0 / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.123, allocations: 4.031 kB / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.1231, allocations: 12.12 kB / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1231, allocations: 0 / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.1232, allocations: 19.78 kB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1232, allocations: 0 / 473.2 MB, free: 10.88 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 6.033e-05/0.1232, allocations: 109.8 kB / 473.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1233, allocations: 4 kB / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.1234, allocations: 61.17 kB / 473.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1234, allocations: 4 kB / 473.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1234, allocations: 4 kB / 473.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1234, allocations: 0 / 473.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.1236, allocations: 161.5 kB / 473.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1236, allocations: 0 / 473.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.1236, allocations: 11.94 kB / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1236, allocations: 0 / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.1236, allocations: 0 / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1236, allocations: 0 / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1236, allocations: 4 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1238, allocations: 155.5 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.1238, allocations: 81.02 kB / 473.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.1238, allocations: 0 / 473.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.095e-05/0.1239, allocations: 7.984 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.1239, allocations: 0 / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1239, allocations: 0 / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.127e-05/0.124, allocations: 83.28 kB / 473.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.124, allocations: 0 / 473.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1243, allocations: 4 kB / 473.9 MB, free: 10.09 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.0001159/0.1244, allocations: 103.3 kB / 474 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.1245, allocations: 24.11 kB / 474 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1245, allocations: 0 / 474 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.159e-05/0.1246, allocations: 20 kB / 474 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.1248, allocations: 11.92 kB / 474 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002184/0.125, allocations: 112.9 kB / 474.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.1252, allocations: 0.6768 MB / 474.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.015e-05/0.1253, allocations: 7.922 kB / 474.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.1253, allocations: 11.44 kB / 474.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of SimCode: time 1.473e-06/0.1253, allocations: 0 / 474.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of Templates: time 0.002401/0.1277, allocations: 468.5 kB / 475.3 MB, free: 8.617 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/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