Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, 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.001552/0.001552, 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.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2056/0.2056, allocations: 46.11 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 81.08 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1062, allocations: 62.45 MB / 479.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003111/0.1094, allocations: 1.708 MB / 481.6 MB, free: 4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1104, allocations: 0.5495 MB / 482.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.1105, allocations: 4 kB / 482.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.1108, allocations: 91.8 kB / 482.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.111, allocations: 99.7 kB / 482.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.1113, allocations: 103.8 kB / 482.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1115, allocations: 95.8 kB / 482.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1116, allocations: 27.94 kB / 482.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.1117, allocations: 43.77 kB / 482.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1118, allocations: 63.81 kB / 482.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1119, allocations: 0 / 482.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-05/0.112, allocations: 51.97 kB / 482.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.112, allocations: 19.92 kB / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.1121, allocations: 39.62 kB / 482.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.1122, allocations: 100.1 kB / 482.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1123, allocations: 4 kB / 482.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1123, allocations: 0 / 482.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1123, allocations: 0 / 482.9 MB, free: 2.715 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004822/0.1128, allocations: 438.8 kB / 483.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.1128, allocations: 12.02 kB / 483.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.1128, allocations: 16.83 kB / 483.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.113, allocations: 204.5 kB / 483.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.1131, allocations: 4.375 kB / 483.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.1131, allocations: 4.375 kB / 483.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1133, allocations: 89.72 kB / 483.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1133, allocations: 0 / 483.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1133, allocations: 4 kB / 483.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1133, allocations: 0 / 483.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1134, allocations: 43.97 kB / 483.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.1139, allocations: 344.6 kB / 484.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1141, allocations: 74.42 kB / 484.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.61e-05/0.1141, allocations: 32.84 kB / 484.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1142, allocations: 0 / 484.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1142, allocations: 30.56 kB / 484.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1142, allocations: 0 / 484.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001126/0.1153, allocations: 349.3 kB / 484.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.1154, allocations: 51.41 kB / 484.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.1156, allocations: 239.5 kB / 484.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1156, allocations: 25.7 kB / 484.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.1157, allocations: 120 kB / 485 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1157, allocations: 43.3 kB / 485 MB, free: 440 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.1158, allocations: 25.72 kB / 485 MB, free: 408 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1159, allocations: 326.8 kB / 485.4 MB, free: 72 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.116, allocations: 43.97 kB / 485.4 MB, free: 28 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1161, allocations: 55.84 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.1164, allocations: 108.8 kB / 485.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1164, allocations: 0 / 485.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002912/0.1167, allocations: 157.4 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1167, allocations: 4 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1167, allocations: 3.938 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1167, allocations: 3.938 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.1169, allocations: 31.97 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1169, allocations: 0 / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.1169, allocations: 8 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.117, allocations: 4 kB / 485.8 MB, free: 15.65 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 (13): * Single equations (assignments): 13 * 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.0001121/0.1171, allocations: 137.8 kB / 485.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.1171, allocations: 11.91 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.1175, allocations: 190.9 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1175, allocations: 7.938 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1175, allocations: 4 kB / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1175, allocations: 0 / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000633/0.1182, allocations: 0.4914 MB / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1182, allocations: 0 / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-05/0.1183, allocations: 27.92 kB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1183, allocations: 4.031 kB / 486.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1183, allocations: 8 kB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1183, allocations: 0 / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1183, allocations: 0 / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.1187, allocations: 263.6 kB / 486.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.1187, allocations: 92.92 kB / 487 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1188, allocations: 4 kB / 487 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.1188, allocations: 11.92 kB / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.1189, allocations: 15.92 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1189, allocations: 7.984 kB / 487 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.1191, allocations: 181.2 kB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1191, allocations: 0 / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.1193, allocations: 23.98 kB / 487.2 MB, free: 14.08 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 (13): * Single equations (assignments): 13 * 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.001016/0.1204, allocations: 447.3 kB / 487.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.1207, allocations: 119.8 kB / 487.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1207, allocations: 4 kB / 487.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1208, allocations: 59.91 kB / 487.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1211, allocations: 19.98 kB / 487.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.1217, allocations: 399.3 kB / 488.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1221, allocations: 0.72 MB / 489 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.1221, allocations: 27.42 kB / 489 MB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1221, allocations: 0 / 489 MB, free: 12.41 MB / 366.1 MB Notification: Performance of Templates: time 0.003776/0.1259, allocations: 2.152 MB / 491.2 MB, free: 10.25 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches