Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000937/0.0009371, allocations: 95 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 205.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.2 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1353, allocations: 63.56 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001938/0.1373, allocations: 1.338 MB / 484.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1383, allocations: 0.534 MB / 485 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.907e-05/0.1384, allocations: 0 / 485 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.1387, allocations: 91.81 kB / 485 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.139, allocations: 95.75 kB / 485.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.1393, allocations: 99.77 kB / 485.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1394, allocations: 79.86 kB / 485.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1396, allocations: 16 kB / 485.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.1396, allocations: 39.78 kB / 485.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1398, allocations: 51.81 kB / 485.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1398, allocations: 0 / 485.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.2e-05/0.1399, allocations: 39.98 kB / 485.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.1399, allocations: 27.91 kB / 485.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.14, allocations: 57.39 kB / 485.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1402, allocations: 103.7 kB / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1402, allocations: 0 / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1402, allocations: 4 kB / 485.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1402, allocations: 0 / 485.6 MB, free: 1.574 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.0005498/0.1408, allocations: 407.2 kB / 486 MB, free: 1.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1409, allocations: 12.88 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.1409, allocations: 12.78 kB / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1411, allocations: 204.5 kB / 486.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1411, allocations: 8.375 kB / 486.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.1412, allocations: 384 / 486.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1413, allocations: 69.78 kB / 486.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1414, allocations: 0 / 486.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.1414, allocations: 0 / 486.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1414, allocations: 0 / 486.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1415, allocations: 39.84 kB / 486.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.142, allocations: 312.7 kB / 486.7 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.1421, allocations: 42.56 kB / 486.7 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.1421, allocations: 20.94 kB / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.1422, allocations: 4 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1422, allocations: 38.5 kB / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1422, allocations: 0 / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009511/0.1432, allocations: 281.1 kB / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.1432, allocations: 55.41 kB / 487.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.1434, allocations: 234.6 kB / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1435, allocations: 29.7 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.1435, allocations: 104.1 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.1436, allocations: 23.66 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.1436, allocations: 13.7 kB / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1437, allocations: 330.8 kB / 487.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.758e-05/0.1438, allocations: 27.98 kB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-05/0.1439, allocations: 39.97 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.1441, allocations: 76.83 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1441, allocations: 3.938 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002255/0.1443, allocations: 129.5 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1443, allocations: 6.344 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1444, allocations: 0 / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1444, allocations: 0 / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1445, allocations: 23.92 kB / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.1445, allocations: 0 / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.1446, allocations: 15.94 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1446, allocations: 0 / 488.2 MB, free: 14.84 MB / 366.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.0001101/0.1447, allocations: 137.8 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.1447, allocations: 15.81 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.1451, allocations: 147.3 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1451, allocations: 0 / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1451, allocations: 0 / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1451, allocations: 3.938 kB / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.1457, allocations: 435.3 kB / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1457, allocations: 0 / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/0.1458, allocations: 19.98 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1458, allocations: 3.938 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.1458, allocations: 0 / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.1458, allocations: 3.938 kB / 488.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1458, allocations: 4 kB / 488.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.1461, allocations: 224.2 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.1462, allocations: 96.86 kB / 489.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1462, allocations: 3.938 kB / 489.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.1463, allocations: 7.984 kB / 489.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.1463, allocations: 8 kB / 489.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.1463, allocations: 7.984 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.1465, allocations: 180.3 kB / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1465, allocations: 0 / 489.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1468, allocations: 16 kB / 489.4 MB, free: 13.44 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.001102/0.1479, allocations: 458.8 kB / 489.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.1481, allocations: 79.94 kB / 490 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1481, allocations: 4 kB / 490 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.1482, allocations: 47.92 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1486, allocations: 15.92 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.1492, allocations: 314.2 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1495, allocations: 0.7179 MB / 491.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.121e-05/0.1496, allocations: 28.94 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.1496, allocations: 11.44 kB / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1496, allocations: 0 / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Templates: time 0.003912/0.1535, allocations: 1.318 MB / 492.4 MB, free: 10.56 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches