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.001567/0.001567, allocations: 105.8 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001854/0.001854, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.3 MB, free: 9.133 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 46.11 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 81.81 kB / 416.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1124, allocations: 62.44 MB / 479.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001707/0.1141, allocations: 0.5614 MB / 479.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003045/0.1145, allocations: 99.7 kB / 479.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.35e-05/0.1145, allocations: 0 / 479.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.1145, allocations: 4 kB / 479.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.815e-05/0.1145, allocations: 3.938 kB / 480 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.1147, allocations: 15.98 kB / 480 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.121e-05/0.1148, allocations: 8 kB / 480 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.1148, allocations: 4 kB / 480 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.425e-05/0.1148, allocations: 7.922 kB / 480 MB, free: 5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.1149, allocations: 4 kB / 480 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1149, allocations: 0 / 480 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.946e-05/0.115, allocations: 31.97 kB / 480 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.115, allocations: 7.984 kB / 480 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.115, allocations: 3.938 kB / 480 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.116e-05/0.1151, allocations: 31.89 kB / 480.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1151, allocations: 4 kB / 480.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1151, allocations: 0 / 480.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1152, allocations: 0 / 480.1 MB, free: 4.918 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.0003837/0.1155, allocations: 327.6 kB / 480.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1156, allocations: 12.88 kB / 480.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.1156, allocations: 0.9375 kB / 480.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1157, allocations: 164.4 kB / 480.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1157, allocations: 8.312 kB / 480.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1158, allocations: 4.375 kB / 480.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.1159, allocations: 55.97 kB / 480.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1159, allocations: 192 / 480.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1159, allocations: 3.938 kB / 480.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1159, allocations: 0 / 480.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/0.116, allocations: 11.98 kB / 480.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.1163, allocations: 333.2 kB / 481 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.072e-05/0.1164, allocations: 34.45 kB / 481 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.1164, allocations: 16.94 kB / 481 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.1164, allocations: 4 kB / 481 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1165, allocations: 30.56 kB / 481.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1165, allocations: 0 / 481.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001714/0.1166, allocations: 57.62 kB / 481.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.1167, allocations: 51.41 kB / 481.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.025e-05/0.1168, allocations: 97.86 kB / 481.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.1168, allocations: 25.7 kB / 481.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.1169, allocations: 84.08 kB / 481.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.1169, allocations: 19.8 kB / 481.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.1169, allocations: 13.72 kB / 481.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1171, allocations: 319 kB / 481.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.1171, allocations: 7.984 kB / 481.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.1171, allocations: 17.72 kB / 481.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.656e-05/0.1172, allocations: 29.66 kB / 481.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1172, allocations: 128 / 481.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001008/0.1173, allocations: 61.62 kB / 481.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1173, allocations: 4 kB / 481.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1173, allocations: 11.97 kB / 481.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1174, allocations: 3.984 kB / 481.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.228e-05/0.1174, allocations: 8 kB / 481.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1174, allocations: 0 / 481.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.1175, allocations: 3.906 kB / 481.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1175, allocations: 4 kB / 481.9 MB, free: 2.883 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 0.0001/0.1176, allocations: 114.3 kB / 482 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.1176, allocations: 0 / 482 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.1178, allocations: 61.12 kB / 482 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1178, allocations: 7.984 kB / 482 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1178, allocations: 0 / 482 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1178, allocations: 4.234 kB / 482 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.118, allocations: 169.5 kB / 482.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.118, allocations: 0 / 482.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.118, allocations: 8 kB / 482.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1181, allocations: 3.984 kB / 482.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1181, allocations: 0 / 482.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1181, allocations: 0 / 482.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1181, allocations: 0 / 482.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.1182, allocations: 151.5 kB / 482.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.1183, allocations: 85.02 kB / 482.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1183, allocations: 4 kB / 482.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.684e-05/0.1184, allocations: 0 / 482.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.1184, allocations: 15.98 kB / 482.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1184, allocations: 4 kB / 482.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.892e-05/0.1185, allocations: 79.22 kB / 482.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1185, allocations: 4.094 kB / 482.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.1187, allocations: 8 kB / 482.6 MB, free: 2.078 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.0001469/0.1189, allocations: 99.25 kB / 482.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.119, allocations: 19.98 kB / 482.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.119, allocations: 4 kB / 482.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.211e-05/0.119, allocations: 15.94 kB / 482.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.1193, allocations: 6.438 kB / 482.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.1196, allocations: 118.8 kB / 482.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1199, allocations: 0.677 MB / 483.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.474e-05/0.12, allocations: 4 kB / 483.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.12, allocations: 11.42 kB / 483.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.12, allocations: 0 / 483.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of Templates: time 0.002362/0.1224, allocations: 424.5 kB / 483.9 MB, free: 0.6523 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches