Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001555/0.001555, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.09 MB / 344.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 82.23 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1114, allocations: 62.43 MB / 480.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003276/0.1147, allocations: 1.618 MB / 482.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1158, allocations: 0.5689 MB / 482.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.1159, allocations: 0 / 482.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005883/0.1165, allocations: 451.1 kB / 483.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005278/0.117, allocations: 303.2 kB / 483.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.1175, allocations: 162.8 kB / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.1178, allocations: 175.6 kB / 483.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1179, allocations: 12 kB / 484 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.1181, allocations: 111.8 kB / 484.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.1183, allocations: 207.6 kB / 484.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1183, allocations: 4 kB / 484.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.861e-05/0.1184, allocations: 31.92 kB / 484.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1185, allocations: 83.69 kB / 484.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.71e-05/0.1186, allocations: 107 kB / 484.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1189, allocations: 247 kB / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1189, allocations: 4 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.119, allocations: 0 / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.119, allocations: 0 / 484.7 MB, free: 1.246 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.000763/0.1197, allocations: 0.6377 MB / 485.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1198, allocations: 11.97 kB / 485.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.327e-05/0.1199, allocations: 44.38 kB / 485.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.1201, allocations: 304.1 kB / 485.7 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1202, allocations: 8.375 kB / 485.7 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1202, allocations: 4.375 kB / 485.7 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1204, allocations: 57.8 kB / 485.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1204, allocations: 0 / 485.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.1204, allocations: 0 / 485.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1204, allocations: 0 / 485.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1205, allocations: 39.95 kB / 485.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.1211, allocations: 392.8 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1212, allocations: 42.5 kB / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.145e-05/0.1213, allocations: 28.92 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1214, allocations: 4 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1214, allocations: 38.56 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1214, allocations: 0 / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003606/0.1218, allocations: 129 kB / 486.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1218, allocations: 51.41 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008241/0.1226, allocations: 0.8653 MB / 487.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1227, allocations: 25.7 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.1228, allocations: 216.1 kB / 487.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.1229, allocations: 7.844 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.1229, allocations: 17.72 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1231, allocations: 362.7 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.505e-05/0.1231, allocations: 19.98 kB / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.933e-05/0.1232, allocations: 19.98 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1233, allocations: 48.81 kB / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1234, allocations: 0 / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002146/0.1236, allocations: 113 kB / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1236, allocations: 6.5 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1236, allocations: 3.938 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1236, allocations: 7.984 kB / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.1237, allocations: 4 kB / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1237, allocations: 0 / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.083e-05/0.1238, allocations: 11.98 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.1238, allocations: 8 kB / 488.2 MB, free: 13.53 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.0001737/0.124, allocations: 209.7 kB / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.1241, allocations: 39.44 kB / 488.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.1243, allocations: 129 kB / 488.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1243, allocations: 3.938 kB / 488.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1244, allocations: 3.984 kB / 488.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1244, allocations: 0 / 488.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.1247, allocations: 301.4 kB / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1247, allocations: 0 / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.1247, allocations: 11.98 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1247, allocations: 0 / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1248, allocations: 0 / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1248, allocations: 0 / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1248, allocations: 4 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.125, allocations: 211.3 kB / 489.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.1251, allocations: 108.7 kB / 489.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.1252, allocations: 0 / 489.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-05/0.1252, allocations: 11.98 kB / 489.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.1253, allocations: 0 / 489.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1253, allocations: 4 kB / 489.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005813/0.1259, allocations: 0.6511 MB / 489.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1259, allocations: 0 / 489.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1261, allocations: 23.98 kB / 489.9 MB, free: 11.73 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.0008124/0.127, allocations: 349.9 kB / 490.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.1272, allocations: 47.89 kB / 490.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1272, allocations: 4 kB / 490.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.673e-05/0.1272, allocations: 19.98 kB / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.1276, allocations: 33.61 kB / 490.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1288, allocations: 0.8398 MB / 491.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.1292, allocations: 0.826 MB / 492 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.1293, allocations: 15.42 kB / 492 MB, free: 9.668 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1293, allocations: 0 / 492 MB, free: 9.668 MB / 366.1 MB Notification: Performance of Templates: time 0.006931/0.1362, allocations: 3.565 MB / 495.6 MB, free: 6.094 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches