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.0008228/0.0008229, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00099/0.0009899, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.7 MB / 247.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1939/0.1939, allocations: 46.19 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002495/0.0002495, allocations: 12 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1006, allocations: 63.55 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002347/0.103, allocations: 1.678 MB / 485.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.105, allocations: 1.162 MB / 486.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1052, allocations: 4 kB / 486.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.1058, allocations: 182.8 kB / 486.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004668/0.1063, allocations: 183.4 kB / 486.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.1067, allocations: 139.7 kB / 487.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.1071, allocations: 263.2 kB / 487.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1072, allocations: 24.31 kB / 487.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.1074, allocations: 99.48 kB / 487.5 MB, free: 416 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.1076, allocations: 107.5 kB / 487.6 MB, free: 308 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.1076, allocations: 4 kB / 487.6 MB, free: 304 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.1077, allocations: 47.92 kB / 487.6 MB, free: 256 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.999e-05/0.1078, allocations: 55.81 kB / 487.7 MB, free: 200 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1079, allocations: 105.1 kB / 487.8 MB, free: 88 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.1082, allocations: 171.9 kB / 487.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1082, allocations: 3.938 kB / 487.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1082, allocations: 3.938 kB / 487.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1083, allocations: 4 kB / 488 MB, free: 15.91 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.0007876/0.1091, allocations: 0.5234 MB / 488.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1091, allocations: 12.88 kB / 488.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.838e-05/0.1092, allocations: 28.64 kB / 488.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.1096, allocations: 283.6 kB / 488.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1096, allocations: 8.312 kB / 488.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1096, allocations: 12.06 kB / 488.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.1099, allocations: 100.2 kB / 488.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1099, allocations: 0 / 488.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1099, allocations: 12 kB / 488.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1099, allocations: 3.938 kB / 488.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.11, allocations: 39.91 kB / 489 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.1106, allocations: 385.5 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.1109, allocations: 117.2 kB / 489.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.111, allocations: 45.69 kB / 489.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.111, allocations: 0 / 489.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.1112, allocations: 117.1 kB / 489.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.1112, allocations: 0 / 489.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004394/0.1117, allocations: 181.3 kB / 489.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.1117, allocations: 106.8 kB / 489.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.1121, allocations: 351.3 kB / 490.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1121, allocations: 33.7 kB / 490.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.949e-05/0.1123, allocations: 148.1 kB / 490.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.1123, allocations: 27.64 kB / 490.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.1123, allocations: 17.72 kB / 490.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1125, allocations: 346.7 kB / 490.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.1126, allocations: 35.92 kB / 490.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1127, allocations: 69.14 kB / 490.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.1129, allocations: 103.9 kB / 491 MB, free: 12.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1129, allocations: 4 kB / 491 MB, free: 12.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002783/0.1132, allocations: 145.2 kB / 491.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1132, allocations: 6.188 kB / 491.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1132, allocations: 64 / 491.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1132, allocations: 11.98 kB / 491.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1133, allocations: 19.94 kB / 491.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1133, allocations: 0 / 491.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.837e-05/0.1134, allocations: 15.98 kB / 491.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1134, allocations: 7.938 kB / 491.2 MB, free: 12.34 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.0001383/0.1136, allocations: 154.9 kB / 491.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.1136, allocations: 23.72 kB / 491.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.1137, allocations: 29.83 kB / 491.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.1137, allocations: 7.938 kB / 491.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1137, allocations: 0 / 491.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1137, allocations: 3.984 kB / 491.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.1139, allocations: 261.3 kB / 491.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.114, allocations: 0 / 491.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.114, allocations: 11.98 kB / 491.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.114, allocations: 0 / 491.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.114, allocations: 4 kB / 491.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.114, allocations: 0 / 491.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.114, allocations: 128 / 491.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.1144, allocations: 197.5 kB / 491.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.1144, allocations: 108.8 kB / 492 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.1145, allocations: 4 kB / 492 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.1146, allocations: 8 kB / 492 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.1146, allocations: 7.984 kB / 492 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1146, allocations: 15.94 kB / 492 MB, free: 11.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002767/0.1149, allocations: 257.9 kB / 492.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1149, allocations: 0 / 492.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1152, allocations: 39.98 kB / 492.3 MB, free: 11.13 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.000925/0.1161, allocations: 411.9 kB / 492.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.1164, allocations: 91.89 kB / 492.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1164, allocations: 4.125 kB / 492.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1165, allocations: 47.92 kB / 492.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.1169, allocations: 55.11 kB / 492.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.1176, allocations: 485.3 kB / 493.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.1179, allocations: 0.7482 MB / 494.1 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.118, allocations: 19.44 kB / 494.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.118, allocations: 0 / 494.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of Templates: time 0.005368/0.1234, allocations: 3.301 MB / 497.5 MB, free: 6.066 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 -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