Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 114.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 200.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.211/0.211, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 75.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1117, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003347/0.1151, allocations: 1.973 MB / 483.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.117, allocations: 1.181 MB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1171, allocations: 11.94 kB / 484.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006548/0.1178, allocations: 195.4 kB / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.1182, allocations: 199.2 kB / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1186, allocations: 167.4 kB / 485.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.1189, allocations: 271.2 kB / 485.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.119, allocations: 28.3 kB / 485.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1192, allocations: 115.5 kB / 485.6 MB, free: 404 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.1193, allocations: 103.6 kB / 485.7 MB, free: 300 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.1194, allocations: 12 kB / 485.7 MB, free: 288 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1195, allocations: 71.89 kB / 485.8 MB, free: 216 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.151e-05/0.1196, allocations: 51.77 kB / 485.8 MB, free: 164 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.908e-05/0.1197, allocations: 83.48 kB / 485.9 MB, free: 80 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.12, allocations: 251.1 kB / 486.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.12, allocations: 4 kB / 486.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.12, allocations: 0 / 486.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1201, allocations: 0 / 486.2 MB, free: 15.83 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008416/0.1209, allocations: 0.5466 MB / 486.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.121, allocations: 12.03 kB / 486.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.245e-05/0.121, allocations: 28.66 kB / 486.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.1214, allocations: 295.4 kB / 487 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1214, allocations: 4.375 kB / 487 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.1215, allocations: 8.125 kB / 487 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.1217, allocations: 100.2 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1217, allocations: 0 / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1217, allocations: 0 / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1217, allocations: 8 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.1219, allocations: 43.91 kB / 487.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.1224, allocations: 381.5 kB / 487.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.1227, allocations: 129.2 kB / 487.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-05/0.1228, allocations: 41.7 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1228, allocations: 0 / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.123, allocations: 117 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.123, allocations: 0 / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000432/0.1235, allocations: 181.7 kB / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.1235, allocations: 106.8 kB / 488.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.1239, allocations: 351.3 kB / 488.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.1239, allocations: 33.64 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.25e-05/0.124, allocations: 140.1 kB / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.1241, allocations: 31.64 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.1241, allocations: 33.7 kB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1243, allocations: 342.8 kB / 489 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/0.1244, allocations: 31.98 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1245, allocations: 73.12 kB / 489.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.1247, allocations: 103.5 kB / 489.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1247, allocations: 0 / 489.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002777/0.1249, allocations: 145.3 kB / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.125, allocations: 4 kB / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.125, allocations: 3.938 kB / 489.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.125, allocations: 4.062 kB / 489.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1251, allocations: 23.98 kB / 489.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1251, allocations: 4 kB / 489.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.1252, allocations: 11.91 kB / 489.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.1253, allocations: 11.92 kB / 489.4 MB, free: 12.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001387/0.1254, allocations: 162.8 kB / 489.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.1254, allocations: 23.72 kB / 489.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.425e-05/0.1255, allocations: 25.83 kB / 489.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1255, allocations: 4 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1255, allocations: 4 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.1255, allocations: 0 / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.1258, allocations: 261.5 kB / 489.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1258, allocations: 4 kB / 489.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.1258, allocations: 8 kB / 489.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1258, allocations: 0 / 489.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1258, allocations: 3.984 kB / 489.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1258, allocations: 4 kB / 489.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1258, allocations: 0 / 489.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1261, allocations: 193.4 kB / 490.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.1262, allocations: 100.8 kB / 490.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.1263, allocations: 0 / 490.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.1263, allocations: 8 kB / 490.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.1264, allocations: 15.92 kB / 490.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1264, allocations: 7.938 kB / 490.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.1267, allocations: 265.9 kB / 490.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1267, allocations: 0 / 490.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.1269, allocations: 39.98 kB / 490.6 MB, free: 11.02 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009068/0.1278, allocations: 414.9 kB / 491 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.1281, allocations: 91.89 kB / 491 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1281, allocations: 4 kB / 491.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1283, allocations: 44.05 kB / 491.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.1286, allocations: 68.09 kB / 491.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006737/0.1293, allocations: 392.5 kB / 491.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1297, allocations: 0.748 MB / 492.3 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.427e-05/0.1298, allocations: 37.91 kB / 492.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.1298, allocations: 31.42 kB / 492.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1298, allocations: 0 / 492.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of Templates: time 0.006547/0.1364, allocations: 3.01 MB / 495.4 MB, free: 6.305 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches