Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001323, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.1 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 78.25 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1314, allocations: 62.45 MB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003847/0.1353, allocations: 1.587 MB / 482.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1364, allocations: 0.5377 MB / 482.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.113e-05/0.1365, allocations: 4 kB / 482.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.1368, allocations: 23.86 kB / 482.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.1372, allocations: 87.55 kB / 482.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.1376, allocations: 107.7 kB / 483 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1377, allocations: 59.91 kB / 483.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1379, allocations: 12 kB / 483.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.1379, allocations: 27.8 kB / 483.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.138, allocations: 27.84 kB / 483.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.138, allocations: 0 / 483.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1381, allocations: 36 kB / 483.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.1382, allocations: 11.98 kB / 483.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.1383, allocations: 19.81 kB / 483.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.1385, allocations: 79.77 kB / 483.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1385, allocations: 0 / 483.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1385, allocations: 0 / 483.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1385, allocations: 0 / 483.3 MB, free: 2.645 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.0005303/0.1391, allocations: 395.3 kB / 483.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.1391, allocations: 8.031 kB / 483.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.1392, allocations: 12.83 kB / 483.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.1394, allocations: 186.8 kB / 483.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.1394, allocations: 384 / 483.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1395, allocations: 8.312 kB / 483.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1396, allocations: 53.8 kB / 484 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1396, allocations: 3.906 kB / 484 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1397, allocations: 4 kB / 484 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1397, allocations: 0 / 484 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.1398, allocations: 23.98 kB / 484 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.1402, allocations: 288.8 kB / 484.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.1404, allocations: 42.56 kB / 484.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.1405, allocations: 20.94 kB / 484.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1405, allocations: 0 / 484.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1406, allocations: 34.56 kB / 484.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.1406, allocations: 4 kB / 484.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000628/0.1412, allocations: 149.2 kB / 484.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.1413, allocations: 55.41 kB / 484.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1414, allocations: 152.7 kB / 484.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1415, allocations: 29.7 kB / 484.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.1415, allocations: 92.08 kB / 484.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1416, allocations: 19.8 kB / 484.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.1416, allocations: 17.72 kB / 484.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1417, allocations: 326.8 kB / 485.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.1418, allocations: 23.98 kB / 485.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.1419, allocations: 19.98 kB / 485.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.1421, allocations: 44.83 kB / 485.3 MB, free: 468 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1421, allocations: 192 / 485.3 MB, free: 468 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001999/0.1423, allocations: 93.56 kB / 485.4 MB, free: 368 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1423, allocations: 7.938 kB / 485.4 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1423, allocations: 0 / 485.4 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1423, allocations: 4 kB / 485.4 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.1424, allocations: 19.92 kB / 485.4 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1424, allocations: 0 / 485.4 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1425, allocations: 8 kB / 485.4 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1425, allocations: 0 / 485.4 MB, free: 328 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 9.779e-05/0.1426, allocations: 121.8 kB / 485.5 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.1426, allocations: 7.906 kB / 485.5 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.1429, allocations: 105.9 kB / 485.6 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1429, allocations: 0 / 485.6 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1429, allocations: 0 / 485.6 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.1429, allocations: 0 / 485.6 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.1435, allocations: 362.3 kB / 486 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1435, allocations: 0 / 486 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/0.1435, allocations: 11.98 kB / 486 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1436, allocations: 4 kB / 486 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1436, allocations: 7.938 kB / 486 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1436, allocations: 3.938 kB / 486 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1436, allocations: 0 / 486 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.1438, allocations: 187.6 kB / 486.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.1439, allocations: 77.39 kB / 486.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.1439, allocations: 4 kB / 486.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.144, allocations: 11.94 kB / 486.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.144, allocations: 11.97 kB / 486.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1441, allocations: 0 / 486.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.455e-05/0.1442, allocations: 121.5 kB / 486.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1442, allocations: 0 / 486.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.1444, allocations: 12 kB / 486.4 MB, free: 15.19 MB / 366.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.001005/0.1454, allocations: 394 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.1457, allocations: 55.91 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1457, allocations: 0 / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.506e-05/0.1458, allocations: 35.97 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1462, allocations: 21.48 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.1466, allocations: 216 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.147, allocations: 0.6924 MB / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.147, allocations: 19.42 kB / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.147, allocations: 0 / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of Templates: time 0.003485/0.1505, allocations: 1.45 MB / 489.3 MB, free: 12.39 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches