Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 102.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 81.77 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1128, allocations: 62.45 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002946/0.1158, allocations: 1.67 MB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009604/0.1168, allocations: 0.5533 MB / 482.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.1168, allocations: 4 kB / 482.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005123/0.1174, allocations: 459.1 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004316/0.1178, allocations: 295.3 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.1181, allocations: 135.1 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1184, allocations: 175.7 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1185, allocations: 16 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1186, allocations: 119.6 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.1188, allocations: 207.6 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.1189, allocations: 4 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.119, allocations: 55.97 kB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.433e-05/0.1191, allocations: 79.69 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.1192, allocations: 103 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.1195, allocations: 274.9 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1195, allocations: 0 / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1195, allocations: 0 / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1195, allocations: 0 / 484.1 MB, free: 1.148 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006365/0.1201, allocations: 0.6455 MB / 484.8 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1202, allocations: 8.031 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.1202, allocations: 44.38 kB / 484.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.1205, allocations: 292.2 kB / 485.1 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1205, allocations: 12.38 kB / 485.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.1205, allocations: 384 / 485.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1207, allocations: 65.94 kB / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1207, allocations: 3.906 kB / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.1207, allocations: 0 / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1207, allocations: 4 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.59e-05/0.1208, allocations: 27.98 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.1213, allocations: 408.5 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.899e-05/0.1214, allocations: 46.48 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.1215, allocations: 20.94 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1215, allocations: 4 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1215, allocations: 30.56 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.1215, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009675/0.1225, allocations: 307.9 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.1225, allocations: 51.41 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008043/0.1234, allocations: 0.8691 MB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1234, allocations: 29.7 kB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.1235, allocations: 228 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.1236, allocations: 23.66 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.1236, allocations: 25.7 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1238, allocations: 358.8 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.1239, allocations: 23.98 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.108e-05/0.1239, allocations: 27.97 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1241, allocations: 64.83 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1241, allocations: 0 / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002509/0.1244, allocations: 141 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1244, allocations: 7.938 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1244, allocations: 0 / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1244, allocations: 0 / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1245, allocations: 19.98 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1245, allocations: 3.938 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.1246, allocations: 11.98 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1246, allocations: 0 / 487.9 MB, free: 13.15 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.0001742/0.1248, allocations: 213.8 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.1249, allocations: 39.44 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.1252, allocations: 161.7 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.1252, allocations: 7.984 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1252, allocations: 3.938 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1252, allocations: 4 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006258/0.1258, allocations: 0.4992 MB / 488.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1259, allocations: 4 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/0.1259, allocations: 19.92 kB / 488.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.126, allocations: 4.031 kB / 488.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.126, allocations: 4 kB / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.126, allocations: 0 / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.126, allocations: 0 / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.1263, allocations: 239.8 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.1263, allocations: 112.5 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.1264, allocations: 11.98 kB / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.1265, allocations: 0 / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.1265, allocations: 11.92 kB / 489.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1265, allocations: 8 kB / 489.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006126/0.1271, allocations: 0.6472 MB / 489.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1272, allocations: 4 kB / 489.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.1275, allocations: 31.98 kB / 489.9 MB, free: 11.03 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.001025/0.1286, allocations: 439.8 kB / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.1288, allocations: 71.89 kB / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1288, allocations: 3.938 kB / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.089e-05/0.1289, allocations: 39.91 kB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.1293, allocations: 36.5 kB / 490.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.1305, allocations: 0.8198 MB / 491.3 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.1309, allocations: 0.8299 MB / 492.1 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.657e-05/0.131, allocations: 16.72 kB / 492.1 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.131, allocations: 11.44 kB / 492.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.131, allocations: 0 / 492.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of Templates: time 0.004898/0.1359, allocations: 1.733 MB / 493.9 MB, free: 7.152 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches