Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001597/0.001597, allocations: 104.8 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002624/0.002624, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 227.4 MB / 246.3 MB, free: 10.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2337/0.2337, allocations: 46.11 MB / 343.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 81.14 kB / 416.9 MB, free: 20.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.132, allocations: 62.44 MB / 479.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002983/0.135, allocations: 1.679 MB / 481 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009643/0.136, allocations: 0.5378 MB / 481.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/0.136, allocations: 0 / 481.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1363, allocations: 75.77 kB / 481.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.1366, allocations: 79.8 kB / 481.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.1368, allocations: 87.22 kB / 481.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.137, allocations: 75.81 kB / 481.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1371, allocations: 19.97 kB / 481.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.096e-05/0.1372, allocations: 35.84 kB / 481.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1373, allocations: 51.83 kB / 481.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1373, allocations: 4 kB / 481.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.693e-05/0.1374, allocations: 47.92 kB / 482 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.1375, allocations: 23.91 kB / 482 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/0.1375, allocations: 31.73 kB / 482 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1377, allocations: 103.7 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1377, allocations: 0 / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1378, allocations: 7.938 kB / 482.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1378, allocations: 0 / 482.1 MB, free: 2.926 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005808/0.1383, allocations: 407.2 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1384, allocations: 12.88 kB / 482.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.1385, allocations: 16.84 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.1387, allocations: 204.7 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1388, allocations: 8.375 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.1388, allocations: 384 / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.139, allocations: 57.8 kB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.139, allocations: 4 kB / 482.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.139, allocations: 0 / 482.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.139, allocations: 0 / 482.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1391, allocations: 27.98 kB / 482.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.1396, allocations: 296.6 kB / 483.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1397, allocations: 42.56 kB / 483.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.1398, allocations: 20.94 kB / 483.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1398, allocations: 4 kB / 483.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1399, allocations: 34.56 kB / 483.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.1399, allocations: 0 / 483.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009931/0.1409, allocations: 221.1 kB / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.141, allocations: 67.27 kB / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.1413, allocations: 214.7 kB / 483.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.1413, allocations: 29.7 kB / 483.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.1414, allocations: 104.1 kB / 483.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.1414, allocations: 27.56 kB / 483.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.1415, allocations: 21.7 kB / 483.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1417, allocations: 322.8 kB / 484.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/0.1418, allocations: 31.98 kB / 484.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.72e-05/0.1418, allocations: 19.98 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.142, allocations: 65.05 kB / 484.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.142, allocations: 0 / 484.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002188/0.1422, allocations: 109.5 kB / 484.5 MB, free: 388 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1423, allocations: 4 kB / 484.5 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1423, allocations: 0 / 484.5 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1423, allocations: 4 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1424, allocations: 19.98 kB / 484.5 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1424, allocations: 0 / 484.5 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.1425, allocations: 7.938 kB / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.1425, allocations: 0 / 484.5 MB, free: 352 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 (8): * Single equations (assignments): 8 * 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.0001153/0.1426, allocations: 129.8 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.1427, allocations: 11.81 kB / 484.6 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.1429, allocations: 123.3 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1429, allocations: 4 kB / 484.8 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1429, allocations: 0 / 484.8 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.143, allocations: 3.938 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/0.1435, allocations: 403.3 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1435, allocations: 12.02 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.1436, allocations: 19.98 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1436, allocations: 3.938 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.1436, allocations: 0 / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1436, allocations: 0 / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1436, allocations: 4 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1439, allocations: 212.1 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.144, allocations: 92.94 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.144, allocations: 4 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.1441, allocations: 4 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.1441, allocations: 7.922 kB / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1441, allocations: 4 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.1443, allocations: 168.7 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1443, allocations: 0 / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1445, allocations: 16 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.001019/0.1455, allocations: 449.7 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1458, allocations: 71.89 kB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1458, allocations: 0 / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.423e-05/0.1459, allocations: 35.92 kB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.1462, allocations: 19.92 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006664/0.1469, allocations: 284.8 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1472, allocations: 0.716 MB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.31e-05/0.1473, allocations: 16.66 kB / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.1473, allocations: 15.44 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1473, allocations: 0 / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of Templates: time 0.003926/0.1513, allocations: 1.292 MB / 488.6 MB, free: 12.25 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches