Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2046/0.2046, allocations: 46.11 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.89 kB / 419 MB, free: 18.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1152, allocations: 62.44 MB / 481.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003125/0.1183, allocations: 1.618 MB / 483.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1194, allocations: 0.5494 MB / 483.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.89e-05/0.1195, allocations: 0 / 483.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.1198, allocations: 103.7 kB / 483.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.1202, allocations: 119.6 kB / 483.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.1206, allocations: 111.7 kB / 483.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.1207, allocations: 91.86 kB / 484 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1209, allocations: 12 kB / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.714e-05/0.1209, allocations: 51.75 kB / 484.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.1211, allocations: 63.81 kB / 484.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.1211, allocations: 4 kB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1212, allocations: 47.98 kB / 484.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.1213, allocations: 27.91 kB / 484.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.1213, allocations: 35.69 kB / 484.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1215, allocations: 123.6 kB / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1215, allocations: 0 / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1215, allocations: 0 / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1215, allocations: 0 / 484.4 MB, free: 1.527 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.0005099/0.1221, allocations: 426.8 kB / 484.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1221, allocations: 8.031 kB / 484.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.1222, allocations: 8.844 kB / 484.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.1224, allocations: 217.6 kB / 485 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1224, allocations: 384 / 485 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.1225, allocations: 4.375 kB / 485 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1226, allocations: 61.73 kB / 485.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1226, allocations: 3.938 kB / 485.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1226, allocations: 3.984 kB / 485.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1227, allocations: 0 / 485.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1228, allocations: 27.97 kB / 485.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.1233, allocations: 312.7 kB / 485.4 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.1234, allocations: 46.5 kB / 485.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.1235, allocations: 20.94 kB / 485.5 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1235, allocations: 4.078 kB / 485.5 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1235, allocations: 34.56 kB / 485.6 MB, free: 212 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.1235, allocations: 4 kB / 485.6 MB, free: 208 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009447/0.1245, allocations: 241.1 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1245, allocations: 55.41 kB / 485.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.1248, allocations: 259 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1248, allocations: 37.64 kB / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1249, allocations: 104.1 kB / 486.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.125, allocations: 27.56 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.125, allocations: 25.7 kB / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1252, allocations: 326.8 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/0.1253, allocations: 23.98 kB / 486.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.1254, allocations: 31.97 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1255, allocations: 76.77 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1256, allocations: 4 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002825/0.1258, allocations: 121.4 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1259, allocations: 4 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1259, allocations: 0 / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1259, allocations: 0 / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.126, allocations: 19.98 kB / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.126, allocations: 0 / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.1261, allocations: 11.94 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.1261, allocations: 4.25 kB / 486.9 MB, free: 14.79 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.0001081/0.1262, allocations: 133.8 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.1262, allocations: 11.84 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.1265, allocations: 134.9 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1266, allocations: 4 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1266, allocations: 4 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1266, allocations: 3.938 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.1271, allocations: 427.3 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1272, allocations: 0 / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.1272, allocations: 15.94 kB / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1272, allocations: 7.938 kB / 487.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1273, allocations: 7.984 kB / 487.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1273, allocations: 4.031 kB / 487.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1273, allocations: 0 / 487.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.1275, allocations: 216.2 kB / 487.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.1276, allocations: 89.38 kB / 487.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1276, allocations: 7.984 kB / 487.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.1277, allocations: 4 kB / 487.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.1278, allocations: 11.94 kB / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.1278, allocations: 7.984 kB / 488 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1279, allocations: 188.4 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1279, allocations: 0 / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1282, allocations: 24 kB / 488.2 MB, free: 13.41 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.001091/0.1293, allocations: 460.3 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.1296, allocations: 75.89 kB / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1296, allocations: 0 / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.386e-05/0.1297, allocations: 43.95 kB / 488.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.1301, allocations: 34.3 kB / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.1306, allocations: 295.7 kB / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.1311, allocations: 0.7119 MB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.098e-05/0.1312, allocations: 24.64 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.1312, allocations: 23.38 kB / 489.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1312, allocations: 0 / 489.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of Templates: time 0.004294/0.1355, allocations: 1.384 MB / 491.2 MB, free: 10.48 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches