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.001601/0.001601, allocations: 99.3 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002503/0.002503, allocations: 201.3 kB / 17.9 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 45.92 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002529/0.000253, allocations: 8 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1226, allocations: 63.47 MB / 481.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0005592/0.1232, allocations: 222.9 kB / 481.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002472/0.1235, allocations: 90.34 kB / 481.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.1235, allocations: 0 / 481.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.1235, allocations: 0 / 481.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.402e-05/0.1236, allocations: 0 / 481.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.1238, allocations: 19.91 kB / 481.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.632e-05/0.1238, allocations: 11.98 kB / 481.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.1239, allocations: 0 / 481.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.556e-05/0.1239, allocations: 4 kB / 481.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.124, allocations: 3.984 kB / 481.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.124, allocations: 7.938 kB / 481.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.08e-05/0.1241, allocations: 27.97 kB / 481.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.1241, allocations: 7.938 kB / 481.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.1241, allocations: 29.7 kB / 481.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.924e-05/0.1242, allocations: 11.97 kB / 481.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.1242, allocations: 0 / 481.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1242, allocations: 0 / 481.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1242, allocations: 0 / 481.8 MB, free: 4.996 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.0003513/0.1246, allocations: 327.4 kB / 482.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1246, allocations: 12.56 kB / 482.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.1247, allocations: 0 / 482.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1248, allocations: 171 kB / 482.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1248, allocations: 0 / 482.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1248, allocations: 8 kB / 482.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.1249, allocations: 59.34 kB / 482.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.125, allocations: 0 / 482.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.125, allocations: 3.984 kB / 482.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.125, allocations: 0 / 482.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.039e-05/0.125, allocations: 12 kB / 482.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.1253, allocations: 337.2 kB / 482.7 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/0.1254, allocations: 22.58 kB / 482.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1254, allocations: 0 / 482.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1254, allocations: 34.5 kB / 482.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1254, allocations: 0 / 482.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001912/0.1256, allocations: 61.72 kB / 482.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.1257, allocations: 55.41 kB / 482.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.962e-05/0.1258, allocations: 93.84 kB / 483 MB, free: 3.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1258, allocations: 29.7 kB / 483 MB, free: 3.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.1259, allocations: 88.14 kB / 483.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.006e-05/0.1259, allocations: 7.812 kB / 483.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-06/0.1259, allocations: 0 / 483.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.126, allocations: 318.8 kB / 483.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.126, allocations: 12.11 kB / 483.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.582e-05/0.1261, allocations: 25.66 kB / 483.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.516e-05/0.1261, allocations: 4 kB / 483.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1261, allocations: 0 / 483.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.646e-05/0.1262, allocations: 57.62 kB / 483.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1262, allocations: 4 kB / 483.5 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1262, allocations: 4 kB / 483.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1263, allocations: 0 / 483.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.1263, allocations: 12.02 kB / 483.5 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1264, allocations: 4 kB / 483.5 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.1264, allocations: 3.906 kB / 483.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1264, allocations: 0 / 483.5 MB, free: 3.035 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.984e-05/0.1265, allocations: 117.8 kB / 483.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.1265, allocations: 0 / 483.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.1266, allocations: 65.12 kB / 483.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1266, allocations: 0 / 483.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1267, allocations: 0 / 483.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1267, allocations: 7.984 kB / 483.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.1268, allocations: 161.6 kB / 483.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.1268, allocations: 3.984 kB / 483.9 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.1269, allocations: 4 kB / 483.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1269, allocations: 4 kB / 483.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1269, allocations: 0 / 483.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1269, allocations: 192 / 483.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1269, allocations: 0 / 483.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.127, allocations: 159.4 kB / 484.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.1271, allocations: 85.02 kB / 484.1 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1271, allocations: 4 kB / 484.1 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.56e-05/0.1271, allocations: 0 / 484.1 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.1272, allocations: 3.984 kB / 484.1 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.1272, allocations: 4 kB / 484.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.15e-05/0.1272, allocations: 75.28 kB / 484.2 MB, free: 2.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1272, allocations: 3.938 kB / 484.2 MB, free: 2.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.1275, allocations: 8 kB / 484.2 MB, free: 2.242 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001262/0.1276, allocations: 103.3 kB / 484.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.621e-05/0.1277, allocations: 32.09 kB / 484.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1277, allocations: 0 / 484.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.1277, allocations: 12 kB / 484.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.1279, allocations: 10.36 kB / 484.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.1281, allocations: 106.8 kB / 484.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.1284, allocations: 0.681 MB / 485.2 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.217e-05/0.1284, allocations: 7.984 kB / 485.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.197e-05/0.1285, allocations: 11.44 kB / 485.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1285, allocations: 0 / 485.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of Templates: time 0.002236/0.1307, allocations: 419.9 kB / 485.6 MB, free: 0.8086 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches