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.0009132/0.0009133, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001084, allocations: 204.9 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1968/0.1968, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002678, allocations: 8 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1141, allocations: 63.57 MB / 483.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002048/0.1162, allocations: 1.392 MB / 485.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009963/0.1172, allocations: 0.534 MB / 485.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.1173, allocations: 8 kB / 485.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005223/0.1178, allocations: 455.1 kB / 486.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004001/0.1182, allocations: 271.5 kB / 486.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.1186, allocations: 119.2 kB / 486.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1188, allocations: 167.6 kB / 486.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.1189, allocations: 24 kB / 486.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.119, allocations: 107.7 kB / 486.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.1193, allocations: 207.6 kB / 487 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1193, allocations: 0 / 487 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.1194, allocations: 47.97 kB / 487 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1196, allocations: 87.62 kB / 487.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.868e-05/0.1197, allocations: 124.7 kB / 487.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1199, allocations: 199.7 kB / 487.4 MB, free: 464 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1199, allocations: 0 / 487.4 MB, free: 464 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1199, allocations: 0 / 487.4 MB, free: 464 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1199, allocations: 0 / 487.4 MB, free: 464 kB / 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.0006668/0.1206, allocations: 0.5953 MB / 488 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1206, allocations: 8.031 kB / 488 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.1207, allocations: 44.38 kB / 488.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.121, allocations: 300.1 kB / 488.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.121, allocations: 384 / 488.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.121, allocations: 12.31 kB / 488.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1212, allocations: 57.81 kB / 488.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1212, allocations: 4 kB / 488.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.1212, allocations: 0 / 488.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1213, allocations: 0 / 488.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.1214, allocations: 31.97 kB / 488.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.1219, allocations: 408.5 kB / 488.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.122, allocations: 50.56 kB / 488.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.1221, allocations: 20.94 kB / 489 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1221, allocations: 0 / 489 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.1221, allocations: 38.58 kB / 489 MB, free: 14.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1222, allocations: 0 / 489 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009574/0.1231, allocations: 335.8 kB / 489.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.1232, allocations: 59.34 kB / 489.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008809/0.1241, allocations: 0.8653 MB / 490.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1241, allocations: 25.7 kB / 490.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.1242, allocations: 220.1 kB / 490.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.1243, allocations: 35.55 kB / 490.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.1243, allocations: 9.719 kB / 490.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1245, allocations: 366.8 kB / 490.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.1246, allocations: 27.97 kB / 490.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.65e-05/0.1247, allocations: 35.92 kB / 490.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.1248, allocations: 72.83 kB / 491 MB, free: 12.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1248, allocations: 0 / 491 MB, free: 12.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002546/0.1251, allocations: 149 kB / 491.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1251, allocations: 4 kB / 491.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1251, allocations: 0 / 491.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1251, allocations: 4 kB / 491.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.1253, allocations: 19.92 kB / 491.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1253, allocations: 7.938 kB / 491.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.092e-05/0.1253, allocations: 4 kB / 491.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1254, allocations: 4 kB / 491.2 MB, free: 12.45 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.0001832/0.1255, allocations: 217.8 kB / 491.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.1256, allocations: 39.47 kB / 491.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.1259, allocations: 173.7 kB / 491.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.126, allocations: 0 / 491.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.126, allocations: 7.938 kB / 491.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.126, allocations: 0 / 491.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006349/0.1266, allocations: 0.5109 MB / 492.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1266, allocations: 3.969 kB / 492.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/0.1267, allocations: 23.98 kB / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1267, allocations: 4 kB / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1267, allocations: 0 / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1267, allocations: 3.938 kB / 492.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1267, allocations: 0 / 492.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.1271, allocations: 251.8 kB / 492.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.35e-05/0.1271, allocations: 116.5 kB / 492.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1272, allocations: 0 / 492.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1273, allocations: 11.98 kB / 492.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.1273, allocations: 4 kB / 492.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1273, allocations: 7.984 kB / 492.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006108/0.128, allocations: 0.6511 MB / 493.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.128, allocations: 0 / 493.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.1283, allocations: 28 kB / 493.2 MB, free: 10.3 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.001047/0.1293, allocations: 454.3 kB / 493.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.1295, allocations: 67.95 kB / 493.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1296, allocations: 0 / 493.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.848e-05/0.1297, allocations: 43.98 kB / 493.8 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1301, allocations: 34.23 kB / 493.8 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1313, allocations: 0.9339 MB / 494.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.1317, allocations: 0.8263 MB / 495.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.1318, allocations: 19.42 kB / 495.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1318, allocations: 0 / 495.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of Templates: time 0.007587/0.1394, allocations: 3.88 MB / 499.5 MB, free: 4.141 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches