Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001727/0.001727, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00198/0.00198, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 73.95 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 62.44 MB / 480 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003449/0.1114, allocations: 1.67 MB / 481.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1125, allocations: 0.5806 MB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.1127, allocations: 3.938 kB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.113, allocations: 71.77 kB / 482.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.1133, allocations: 107.6 kB / 482.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.1138, allocations: 186.5 kB / 482.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1139, allocations: 91.75 kB / 482.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1141, allocations: 28.2 kB / 482.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.522e-05/0.1141, allocations: 39.84 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1143, allocations: 59.81 kB / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1143, allocations: 4 kB / 482.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1144, allocations: 51.92 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.1145, allocations: 27.91 kB / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.1145, allocations: 43.67 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1147, allocations: 111.7 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1147, allocations: 0 / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1147, allocations: 0 / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1147, allocations: 0 / 483.1 MB, free: 2.203 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.0004848/0.1152, allocations: 431.1 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1153, allocations: 8.031 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.1153, allocations: 8.844 kB / 483.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.1155, allocations: 215.9 kB / 483.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.1155, allocations: 4.375 kB / 483.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1156, allocations: 12.3 kB / 483.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1157, allocations: 65.8 kB / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1158, allocations: 0 / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1158, allocations: 8 kB / 483.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1158, allocations: 4 kB / 483.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.1159, allocations: 47.89 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.1164, allocations: 320.7 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.1167, allocations: 58.55 kB / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.195e-05/0.1167, allocations: 33 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.1168, allocations: 4 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.1168, allocations: 34.55 kB / 484.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1168, allocations: 0 / 484.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001487/0.1183, allocations: 432.8 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1183, allocations: 59.34 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1185, allocations: 210.3 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1186, allocations: 33.64 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.1186, allocations: 104.1 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.1187, allocations: 39.45 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.1187, allocations: 25.72 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1189, allocations: 326.8 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.119, allocations: 51.95 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1191, allocations: 55.89 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.1194, allocations: 128.8 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1194, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003483/0.1198, allocations: 165.4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1198, allocations: 7.984 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1198, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1199, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.12, allocations: 31.86 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.12, allocations: 4.562 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.1201, allocations: 7.984 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1201, allocations: 8 kB / 486 MB, free: 15.09 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 (11): * Single equations (assignments): 11 * 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.0001018/0.1202, allocations: 129.8 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.1202, allocations: 15.81 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004494/0.1207, allocations: 194.9 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.1207, allocations: 7.875 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1207, allocations: 3.938 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1207, allocations: 4 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006867/0.1214, allocations: 0.4961 MB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.1214, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.1216, allocations: 35.91 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1216, allocations: 0 / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1216, allocations: 4 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1216, allocations: 0 / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1216, allocations: 0 / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.122, allocations: 277.5 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.1221, allocations: 85.02 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1221, allocations: 4 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1222, allocations: 11.98 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.1222, allocations: 19.91 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.1223, allocations: 4 kB / 487.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.1224, allocations: 168.2 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1224, allocations: 0 / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1227, allocations: 27.98 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009825/0.1237, allocations: 445.9 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.124, allocations: 131.8 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1241, allocations: 7.938 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.1242, allocations: 68.02 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.1246, allocations: 23.84 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006169/0.1252, allocations: 332.7 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.1255, allocations: 0.7238 MB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.365e-05/0.1256, allocations: 36.52 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.1257, allocations: 19.44 kB / 489.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1257, allocations: 0 / 489.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of Templates: time 0.004208/0.1299, allocations: 1.637 MB / 490.8 MB, free: 10.2 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches