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.001028/0.001028, allocations: 105.7 kB / 17.32 MB, free: 5.984 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.001022/0.001022, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.335/1.335, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.2028/0.2028, allocations: 44.18 MB / 336.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001286, allocations: 67.95 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.114, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001619/0.1156, allocations: 0.5526 MB / 469.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002622/0.1159, allocations: 102.1 kB / 469.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.811e-05/0.116, allocations: 0 / 469.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.116, allocations: 4 kB / 469.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.039e-05/0.116, allocations: 0 / 469.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.1162, allocations: 15.98 kB / 469.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.18e-05/0.1162, allocations: 8 kB / 469.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.1163, allocations: 3.984 kB / 469.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.418e-05/0.1163, allocations: 8 kB / 469.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.1164, allocations: 7.938 kB / 469.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1164, allocations: 3.938 kB / 469.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.324e-05/0.1165, allocations: 35.95 kB / 469.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.1165, allocations: 3.984 kB / 469.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.1165, allocations: 7.938 kB / 469.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.925e-05/0.1166, allocations: 19.97 kB / 469.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1166, allocations: 8 kB / 469.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1166, allocations: 0 / 469.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1166, allocations: 0 / 469.5 MB, free: 13.95 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.0003639/0.117, allocations: 327.5 kB / 469.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.117, allocations: 15.97 kB / 469.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.1171, allocations: 0.9375 kB / 469.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1172, allocations: 164.4 kB / 470 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.1172, allocations: 4.375 kB / 470 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1172, allocations: 4.375 kB / 470 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.1174, allocations: 55.97 kB / 470 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1174, allocations: 192 / 470 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1174, allocations: 3.938 kB / 470.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1174, allocations: 0 / 470.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.996e-05/0.1174, allocations: 19.92 kB / 470.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.1178, allocations: 329.2 kB / 470.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.441e-05/0.1178, allocations: 30.55 kB / 470.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.1179, allocations: 12.86 kB / 470.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.1179, allocations: 4 kB / 470.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.1179, allocations: 34.5 kB / 470.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1179, allocations: 0 / 470.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001958/0.1181, allocations: 57.78 kB / 470.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.1182, allocations: 51.41 kB / 470.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.1183, allocations: 101.8 kB / 470.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.1183, allocations: 25.7 kB / 470.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.1183, allocations: 80.14 kB / 470.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.1184, allocations: 15.8 kB / 470.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.1184, allocations: 17.72 kB / 470.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1185, allocations: 319 kB / 471.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.1185, allocations: 8 kB / 471.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.1186, allocations: 21.66 kB / 471.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.1186, allocations: 29.7 kB / 471.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1186, allocations: 0 / 471.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.079e-05/0.1187, allocations: 61.56 kB / 471.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1188, allocations: 6.5 kB / 471.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1188, allocations: 8.031 kB / 471.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.1188, allocations: 0 / 471.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.1188, allocations: 8.234 kB / 471.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1189, allocations: 7.875 kB / 471.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.1189, allocations: 3.906 kB / 471.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1189, allocations: 4 kB / 471.3 MB, free: 11.91 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.432e-05/0.119, allocations: 109.8 kB / 471.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.119, allocations: 7.969 kB / 471.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.1192, allocations: 65.12 kB / 471.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1192, allocations: 4 kB / 471.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1192, allocations: 0 / 471.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1192, allocations: 4 kB / 471.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.1193, allocations: 161.5 kB / 471.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1193, allocations: 192 / 471.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.1194, allocations: 12 kB / 471.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.1194, allocations: 0 / 471.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.1194, allocations: 4 kB / 471.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1194, allocations: 0 / 471.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1194, allocations: 0 / 471.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.1196, allocations: 155.4 kB / 471.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.1196, allocations: 89 kB / 471.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.1196, allocations: 0 / 471.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.1197, allocations: 0 / 471.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.1197, allocations: 8 kB / 471.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1197, allocations: 0 / 471.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.871e-05/0.1197, allocations: 75.28 kB / 472 MB, free: 11.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1198, allocations: 96 / 472 MB, free: 11.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.12, allocations: 12 kB / 472 MB, free: 11.12 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.1201, allocations: 103.2 kB / 472.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.1202, allocations: 27.94 kB / 472.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1202, allocations: 0 / 472.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/0.1203, allocations: 15.98 kB / 472.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.1205, allocations: 7.938 kB / 472.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.1207, allocations: 117 kB / 472.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.121, allocations: 0.6768 MB / 472.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.155e-05/0.121, allocations: 4 kB / 472.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.121, allocations: 7.438 kB / 472.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.121, allocations: 3.938 kB / 472.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Templates: time 0.002271/0.1233, allocations: 456.5 kB / 473.4 MB, free: 9.652 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