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.001067/0.001067, allocations: 104 kB / 17.63 MB, free: 5.523 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.0009698/0.0009698, allocations: 192.1 kB / 18.56 MB, free: 4.605 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.262/1.262, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.1945/0.1945, allocations: 44.18 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001193, allocations: 62.91 kB / 408.4 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09405, allocations: 60.82 MB / 469.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001613/0.0957, allocations: 0.4995 MB / 469.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002574/0.09597, allocations: 95.66 kB / 469.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.95e-05/0.096, allocations: 0 / 469.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.09603, allocations: 0 / 469.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.025e-05/0.09605, allocations: 3.938 kB / 469.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.09624, allocations: 19.97 kB / 469.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.041e-05/0.0963, allocations: 8 kB / 469.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.09636, allocations: 4 kB / 469.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.642e-05/0.09639, allocations: 7.984 kB / 469.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.09644, allocations: 11.94 kB / 469.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.09646, allocations: 3.938 kB / 469.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.173e-05/0.09655, allocations: 27.97 kB / 469.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.09657, allocations: 7.984 kB / 469.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.09659, allocations: 7.938 kB / 469.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.976e-05/0.0967, allocations: 23.95 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.09671, allocations: 0 / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.09671, allocations: 0 / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.09672, allocations: 0 / 470 MB, free: 13.68 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.0003593/0.09709, allocations: 339.5 kB / 470.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.09713, allocations: 8.031 kB / 470.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.09716, allocations: 0.9375 kB / 470.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.09726, allocations: 164.4 kB / 470.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.09728, allocations: 384 / 470.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.09729, allocations: 384 / 470.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.09741, allocations: 59.97 kB / 470.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.09743, allocations: 4.125 kB / 470.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.09744, allocations: 3.938 kB / 470.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.09745, allocations: 8 kB / 470.5 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.0975, allocations: 11.98 kB / 470.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.09777, allocations: 325.2 kB / 470.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.168e-05/0.09786, allocations: 30.45 kB / 470.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.0979, allocations: 20.94 kB / 470.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.09792, allocations: 4 kB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.09794, allocations: 30.56 kB / 471 MB, free: 12.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.09795, allocations: 0 / 471 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001527/0.09811, allocations: 57.69 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.09814, allocations: 51.41 kB / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.658e-05/0.0982, allocations: 89.86 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.09822, allocations: 29.7 kB / 471.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.09826, allocations: 94.69 kB / 471.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.09828, allocations: 11.81 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.09831, allocations: 17.72 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.0984, allocations: 310.8 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.09843, allocations: 7.984 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/0.09846, allocations: 21.72 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.775e-05/0.09851, allocations: 29.89 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.09852, allocations: 4 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.513e-05/0.09861, allocations: 61.56 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.09863, allocations: 4 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.09864, allocations: 3.984 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.09866, allocations: 0 / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/0.09872, allocations: 8 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.09873, allocations: 3.938 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.09876, allocations: 7.906 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.09877, allocations: 0 / 471.8 MB, free: 11.65 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.466e-05/0.09884, allocations: 125.8 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.09887, allocations: 0 / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.09899, allocations: 65.17 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.099, allocations: 0 / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.09901, allocations: 0 / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.09901, allocations: 0 / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.09915, allocations: 165.5 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.09916, allocations: 0 / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.0992, allocations: 8.188 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.09921, allocations: 8 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.09922, allocations: 0 / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.09923, allocations: 4 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.09924, allocations: 0 / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.09935, allocations: 155.4 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.09939, allocations: 81.02 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.09941, allocations: 4 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.564e-05/0.09946, allocations: 3.938 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.0995, allocations: 7.984 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.0995, allocations: 0 / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.685e-05/0.09954, allocations: 79.28 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09954, allocations: 0 / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.09976, allocations: 8 kB / 472.5 MB, free: 10.84 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 9.197e-05/0.09986, allocations: 95.25 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.741e-05/0.09996, allocations: 27.92 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.09997, allocations: 160 / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/0.1, allocations: 20 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.1002, allocations: 11.92 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002063/0.1004, allocations: 112.9 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1007, allocations: 0.6729 MB / 473.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.262e-05/0.1007, allocations: 11.98 kB / 473.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.1007, allocations: 7.438 kB / 473.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1007, allocations: 3.938 kB / 473.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of Templates: time 0.002429/0.1032, allocations: 456.1 kB / 473.9 MB, free: 9.383 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