Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007823/0.0007824, allocations: 95.22 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000893/0.000893, allocations: 206.7 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.7 MB / 247.4 MB, free: 9.711 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1873/0.1873, allocations: 46.19 MB / 345.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002541/0.0002543, allocations: 4 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1098, allocations: 63.58 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.000636/0.1105, allocations: 223 kB / 484 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003115/0.1109, allocations: 110.2 kB / 484.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.1109, allocations: 0 / 484.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.193e-05/0.1109, allocations: 0 / 484.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.934e-05/0.1109, allocations: 0 / 484.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.1111, allocations: 15.92 kB / 484.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.702e-05/0.1112, allocations: 15.98 kB / 484.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.1112, allocations: 0 / 484.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.68e-05/0.1113, allocations: 4 kB / 484.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.1113, allocations: 11.92 kB / 484.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1113, allocations: 0 / 484.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.265e-05/0.1114, allocations: 35.97 kB / 484.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.1115, allocations: 3.984 kB / 484.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.1115, allocations: 33.64 kB / 484.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.385e-05/0.1116, allocations: 15.97 kB / 484.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1116, allocations: 0 / 484.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1116, allocations: 4 kB / 484.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1116, allocations: 0 / 484.2 MB, free: 3.676 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.0003731/0.112, allocations: 319.6 kB / 484.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.112, allocations: 12.88 kB / 484.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.1121, allocations: 4.938 kB / 484.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1122, allocations: 160.4 kB / 484.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1122, allocations: 4.375 kB / 484.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1122, allocations: 4.375 kB / 484.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.1124, allocations: 55.91 kB / 484.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1124, allocations: 192 / 484.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1124, allocations: 3.938 kB / 484.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1124, allocations: 0 / 484.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.1125, allocations: 19.98 kB / 484.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.1128, allocations: 325.3 kB / 485.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.891e-05/0.1129, allocations: 30.45 kB / 485.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.1129, allocations: 20.94 kB / 485.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.113, allocations: 3.938 kB / 485.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.113, allocations: 38.56 kB / 485.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.113, allocations: 0 / 485.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000186/0.1132, allocations: 57.62 kB / 485.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.1132, allocations: 55.41 kB / 485.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.259e-05/0.1133, allocations: 89.86 kB / 485.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1133, allocations: 25.7 kB / 485.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.1134, allocations: 88.14 kB / 485.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.1134, allocations: 11.92 kB / 485.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.1134, allocations: 13.72 kB / 485.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1136, allocations: 318.8 kB / 485.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.1136, allocations: 7.938 kB / 485.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.921e-05/0.1136, allocations: 21.7 kB / 485.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.253e-05/0.1137, allocations: 29.66 kB / 485.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1137, allocations: 0 / 485.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.823e-05/0.1138, allocations: 61.62 kB / 485.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1138, allocations: 4 kB / 485.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1138, allocations: 0 / 485.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1138, allocations: 4 kB / 486 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/0.1139, allocations: 7.984 kB / 486 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1139, allocations: 3.938 kB / 486 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.114, allocations: 7.906 kB / 486 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.114, allocations: 0 / 486 MB, free: 1.656 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.752e-05/0.1141, allocations: 118.3 kB / 486.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.1141, allocations: 4.031 kB / 486.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.1142, allocations: 57.19 kB / 486.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1142, allocations: 240 / 486.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1142, allocations: 0 / 486.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1142, allocations: 3.984 kB / 486.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.1144, allocations: 169.5 kB / 486.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1144, allocations: 4 kB / 486.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.1145, allocations: 11.92 kB / 486.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1145, allocations: 0 / 486.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1145, allocations: 4 kB / 486.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1145, allocations: 4 kB / 486.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1145, allocations: 3.938 kB / 486.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.1146, allocations: 147.7 kB / 486.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.1147, allocations: 81.02 kB / 486.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.1147, allocations: 12 kB / 486.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.527e-05/0.1148, allocations: 0 / 486.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.1148, allocations: 3.984 kB / 486.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1148, allocations: 4 kB / 486.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.181e-05/0.1149, allocations: 79.28 kB / 486.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1149, allocations: 0 / 486.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.1151, allocations: 4 kB / 486.7 MB, free: 0.8594 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.0001317/0.1152, allocations: 103.2 kB / 486.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1153, allocations: 23.98 kB / 486.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1154, allocations: 0 / 486.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.179e-05/0.1154, allocations: 19.94 kB / 486.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.1156, allocations: 8.094 kB / 486.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.1159, allocations: 132.5 kB / 487 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1161, allocations: 0.6809 MB / 487.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.1162, allocations: 11.38 kB / 487.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1162, allocations: 0 / 487.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of Templates: time 0.001884/0.1181, allocations: 0.5623 MB / 488.2 MB, free: 15.25 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches