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.000844/0.000844, allocations: 103.8 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008279/0.0008279, allocations: 197.2 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.7 MB / 246.4 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 46.19 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000274/0.000274, allocations: 8 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 63.56 MB / 482.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0005907/0.1388, allocations: 230.8 kB / 482.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002786/0.1391, allocations: 86.41 kB / 482.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.1392, allocations: 0 / 482.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.305e-05/0.1392, allocations: 3.938 kB / 482.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.943e-05/0.1392, allocations: 0 / 482.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.1394, allocations: 11.92 kB / 482.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5e-05/0.1395, allocations: 15.98 kB / 482.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.451e-05/0.1395, allocations: 4 kB / 482.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.238e-05/0.1396, allocations: 0 / 482.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.1396, allocations: 19.91 kB / 482.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1396, allocations: 0 / 482.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.1397, allocations: 31.97 kB / 482.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.779e-06/0.1397, allocations: 4 kB / 482.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.1398, allocations: 25.7 kB / 482.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.618e-05/0.1399, allocations: 11.98 kB / 482.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1399, allocations: 0 / 482.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1399, allocations: 0 / 482.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1399, allocations: 4 kB / 482.8 MB, free: 4.113 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.0003671/0.1403, allocations: 327.4 kB / 483.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1403, allocations: 8.562 kB / 483.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.1404, allocations: 4 kB / 483.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.1405, allocations: 167 kB / 483.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1405, allocations: 0 / 483.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.1405, allocations: 4 kB / 483.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1407, allocations: 59.34 kB / 483.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.1407, allocations: 0 / 483.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1407, allocations: 0 / 483.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1407, allocations: 0 / 483.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.1408, allocations: 12 kB / 483.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.1411, allocations: 333.2 kB / 483.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.277e-05/0.1412, allocations: 30.58 kB / 483.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.1412, allocations: 8.859 kB / 483.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1413, allocations: 0 / 483.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1413, allocations: 46.64 kB / 483.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.895e-06/0.1413, allocations: 3.984 kB / 483.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002134/0.1415, allocations: 53.62 kB / 483.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.1416, allocations: 51.41 kB / 483.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.1417, allocations: 101.9 kB / 484 MB, free: 2.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1417, allocations: 25.7 kB / 484 MB, free: 2.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.1417, allocations: 80.14 kB / 484.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.1418, allocations: 11.8 kB / 484.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.1418, allocations: 4 kB / 484.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1419, allocations: 318.8 kB / 484.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.1419, allocations: 4 kB / 484.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/0.142, allocations: 17.84 kB / 484.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/0.142, allocations: 19.92 kB / 484.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.142, allocations: 0 / 484.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001033/0.1421, allocations: 53.62 kB / 484.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1421, allocations: 8 kB / 484.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1422, allocations: 0 / 484.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1422, allocations: 0 / 484.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.147e-05/0.1422, allocations: 8 kB / 484.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.1423, allocations: 0 / 484.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.1423, allocations: 11.84 kB / 484.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1423, allocations: 8.031 kB / 484.6 MB, free: 2.137 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 7.826e-05/0.1424, allocations: 113.7 kB / 484.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.1424, allocations: 7.984 kB / 484.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.1426, allocations: 61.31 kB / 484.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1426, allocations: 4 kB / 484.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1426, allocations: 0 / 484.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1426, allocations: 0 / 484.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.1428, allocations: 165.5 kB / 484.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1428, allocations: 0 / 484.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.1428, allocations: 12 kB / 484.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1428, allocations: 0 / 484.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.1428, allocations: 0 / 484.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1429, allocations: 3.938 kB / 484.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1429, allocations: 3.984 kB / 484.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.143, allocations: 155.5 kB / 485.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.1431, allocations: 85 kB / 485.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1431, allocations: 0 / 485.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.625e-05/0.1431, allocations: 4 kB / 485.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.1432, allocations: 4 kB / 485.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.1432, allocations: 0 / 485.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.366e-05/0.1432, allocations: 83.28 kB / 485.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1432, allocations: 0 / 485.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.1434, allocations: 4 kB / 485.3 MB, free: 1.344 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.0001482/0.1436, allocations: 103.2 kB / 485.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.1437, allocations: 24.03 kB / 485.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1437, allocations: 4 kB / 485.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.928e-05/0.1437, allocations: 15.98 kB / 485.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.144, allocations: 10.61 kB / 485.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.1442, allocations: 110.6 kB / 485.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.1445, allocations: 0.6809 MB / 486.2 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.434e-05/0.1445, allocations: 4.062 kB / 486.2 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.1446, allocations: 11.44 kB / 486.2 MB, free: 332 kB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1446, allocations: 3.938 kB / 486.2 MB, free: 328 kB / 350.1 MB Notification: Performance of Templates: time 0.002426/0.147, allocations: 412.5 kB / 486.6 MB, free: 15.92 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/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