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.001121/0.001121, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 46.1 MB / 344.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 76.03 kB / 417.5 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1104, allocations: 62.45 MB / 479.9 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003693/0.1142, allocations: 1.676 MB / 481.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1153, allocations: 0.5378 MB / 482.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.1154, allocations: 0 / 482.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.1158, allocations: 115.7 kB / 482.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.1161, allocations: 103.8 kB / 482.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.1165, allocations: 99.31 kB / 482.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1167, allocations: 87.8 kB / 482.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1168, allocations: 16 kB / 482.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.178e-05/0.1169, allocations: 35.84 kB / 482.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1171, allocations: 71.73 kB / 482.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1171, allocations: 4 kB / 482.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1172, allocations: 43.97 kB / 482.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.1173, allocations: 23.92 kB / 482.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.467e-05/0.1174, allocations: 35.69 kB / 482.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.1175, allocations: 87.88 kB / 482.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1175, allocations: 0 / 482.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1175, allocations: 0 / 482.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1176, allocations: 0 / 482.9 MB, free: 2.816 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.000565/0.1181, allocations: 435 kB / 483.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1182, allocations: 8.875 kB / 483.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.1182, allocations: 12.84 kB / 483.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.1185, allocations: 212.7 kB / 483.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.1185, allocations: 384 / 483.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.1185, allocations: 4.375 kB / 483.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1187, allocations: 57.8 kB / 483.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1187, allocations: 8 kB / 483.6 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1187, allocations: 4 kB / 483.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1187, allocations: 0 / 483.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1188, allocations: 23.98 kB / 483.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.1193, allocations: 308.7 kB / 483.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.1195, allocations: 50.55 kB / 484 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.1195, allocations: 20.86 kB / 484 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.1196, allocations: 0 / 484 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1196, allocations: 34.64 kB / 484 MB, free: 1.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.485e-06/0.1196, allocations: 3.984 kB / 484 MB, free: 1.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009887/0.1206, allocations: 257 kB / 484.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.1207, allocations: 51.41 kB / 484.3 MB, free: 1.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.1209, allocations: 255 kB / 484.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.121, allocations: 29.7 kB / 484.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.121, allocations: 108.1 kB / 484.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.1211, allocations: 31.55 kB / 484.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.1211, allocations: 17.72 kB / 484.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002457/0.1214, allocations: 330.8 kB / 485.1 MB, free: 392 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.025e-05/0.1215, allocations: 27.97 kB / 485.1 MB, free: 364 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.1215, allocations: 35.92 kB / 485.1 MB, free: 328 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.1217, allocations: 76.75 kB / 485.2 MB, free: 248 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1217, allocations: 0 / 485.2 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002617/0.122, allocations: 125.6 kB / 485.3 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.122, allocations: 4 kB / 485.3 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.122, allocations: 80 / 485.3 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1221, allocations: 4 kB / 485.3 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1222, allocations: 15.98 kB / 485.4 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1222, allocations: 3.984 kB / 485.4 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.1222, allocations: 11.92 kB / 485.4 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.1222, allocations: 4 kB / 485.4 MB, free: 72 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.0001753/0.1224, allocations: 133.8 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.1225, allocations: 11.91 kB / 485.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.1228, allocations: 138.9 kB / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1228, allocations: 0 / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1228, allocations: 0 / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1228, allocations: 3.938 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.1234, allocations: 423.3 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1234, allocations: 0 / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/0.1234, allocations: 19.98 kB / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1235, allocations: 3.938 kB / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.1235, allocations: 8 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1235, allocations: 4 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1235, allocations: 0 / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.1238, allocations: 220.1 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/0.1238, allocations: 88.95 kB / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.1239, allocations: 0 / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.124, allocations: 7.984 kB / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.124, allocations: 4 kB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.124, allocations: 8 kB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.1242, allocations: 192.4 kB / 486.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1242, allocations: 0 / 486.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1245, allocations: 27.98 kB / 486.6 MB, free: 14.69 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.001043/0.1255, allocations: 453.9 kB / 487.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.1258, allocations: 79.88 kB / 487.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1258, allocations: 0 / 487.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.623e-05/0.1259, allocations: 40.08 kB / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1263, allocations: 24.06 kB / 487.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.1269, allocations: 366.8 kB / 487.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.1273, allocations: 0.72 MB / 488.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.1273, allocations: 15.44 kB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1274, allocations: 0 / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Templates: time 0.004158/0.1315, allocations: 1.875 MB / 490.2 MB, free: 11.23 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 -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