Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, 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.001455/0.001455, 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.314/1.314, allocations: 227.4 MB / 246.9 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2014/0.2014, allocations: 46.11 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 78.8 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.109, allocations: 62.45 MB / 479.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003107/0.1122, allocations: 1.672 MB / 481.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000954/0.1132, allocations: 0.5377 MB / 482.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.1132, allocations: 4 kB / 482.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.1138, allocations: 451.2 kB / 482.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.1142, allocations: 275.5 kB / 482.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1145, allocations: 111.4 kB / 483 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.1147, allocations: 171.6 kB / 483.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.545e-05/0.1148, allocations: 8 kB / 483.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1149, allocations: 107.7 kB / 483.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.1152, allocations: 203.6 kB / 483.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1152, allocations: 4 kB / 483.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.158e-05/0.1153, allocations: 23.94 kB / 483.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1154, allocations: 87.67 kB / 483.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.639e-05/0.1155, allocations: 103 kB / 483.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.1157, allocations: 175.8 kB / 483.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1157, allocations: 0 / 483.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1157, allocations: 4 kB / 483.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1157, allocations: 0 / 483.8 MB, free: 1.809 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007055/0.1164, allocations: 0.63 MB / 484.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1164, allocations: 8.875 kB / 484.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.1165, allocations: 40.47 kB / 484.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1168, allocations: 312 kB / 484.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1168, allocations: 8.375 kB / 484.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.1168, allocations: 384 / 484.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.117, allocations: 53.81 kB / 484.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.117, allocations: 3.938 kB / 484.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.117, allocations: 7.984 kB / 484.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.117, allocations: 0 / 484.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.1171, allocations: 23.98 kB / 484.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.1176, allocations: 388.7 kB / 485.3 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.1177, allocations: 34.56 kB / 485.3 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.1178, allocations: 28.94 kB / 485.4 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1178, allocations: 0 / 485.4 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.1178, allocations: 38.55 kB / 485.4 MB, free: 88 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1179, allocations: 0 / 485.4 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003477/0.1182, allocations: 117.1 kB / 485.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1183, allocations: 55.41 kB / 485.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008013/0.1191, allocations: 0.8613 MB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1191, allocations: 29.64 kB / 486.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.1193, allocations: 220 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.1193, allocations: 11.83 kB / 486.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.1193, allocations: 17.7 kB / 486.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1195, allocations: 362.7 kB / 487.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.1196, allocations: 11.98 kB / 487.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.833e-05/0.1196, allocations: 19.98 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1198, allocations: 40.83 kB / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1198, allocations: 0 / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002041/0.12, allocations: 109 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.12, allocations: 4 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.12, allocations: 0 / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.12, allocations: 0 / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.1201, allocations: 11.98 kB / 487.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1201, allocations: 0 / 487.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.65e-05/0.1202, allocations: 7.984 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.1202, allocations: 4 kB / 487.3 MB, free: 14.16 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 (3): * Single equations (assignments): 3 * 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.0001845/0.1204, allocations: 213.7 kB / 487.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.1205, allocations: 39.53 kB / 487.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.1207, allocations: 121.2 kB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1208, allocations: 48 / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1208, allocations: 7.984 kB / 487.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1208, allocations: 0 / 487.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.1211, allocations: 297.3 kB / 487.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1211, allocations: 0 / 487.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.1212, allocations: 11.98 kB / 487.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1212, allocations: 0 / 487.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1212, allocations: 4 kB / 487.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1212, allocations: 4 kB / 487.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1212, allocations: 0 / 487.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.1215, allocations: 203 kB / 488.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.1216, allocations: 108.5 kB / 488.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.1216, allocations: 4 kB / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/0.1217, allocations: 7.922 kB / 488.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.1217, allocations: 4 kB / 488.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1217, allocations: 0 / 488.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005644/0.1223, allocations: 0.6472 MB / 488.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1223, allocations: 0 / 488.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1226, allocations: 20 kB / 488.9 MB, free: 12.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0007869/0.1234, allocations: 341.4 kB / 489.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1236, allocations: 43.91 kB / 489.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1236, allocations: 0 / 489.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.1236, allocations: 23.97 kB / 489.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.124, allocations: 29.41 kB / 489.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1252, allocations: 0.8925 MB / 490.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.1256, allocations: 0.825 MB / 491.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.1257, allocations: 15.42 kB / 491.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1257, allocations: 0 / 491.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of Templates: time 0.006801/0.1325, allocations: 3.493 MB / 494.6 MB, free: 6.77 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches