Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009309/0.000931, allocations: 95.09 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.001122/0.001122, allocations: 207.4 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2035/0.2035, allocations: 46.19 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002595/0.0002596, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.107, allocations: 63.57 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002132/0.1092, allocations: 1.536 MB / 485.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.1116, allocations: 1.653 MB / 486.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1118, allocations: 0 / 486.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.112, allocations: 43.81 kB / 487 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003988/0.1125, allocations: 119.5 kB / 487.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1127, allocations: 87.84 kB / 487.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.113, allocations: 191.4 kB / 487.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.78e-05/0.1131, allocations: 13.69 kB / 487.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1132, allocations: 83.56 kB / 487.5 MB, free: 420 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.1135, allocations: 79.55 kB / 487.5 MB, free: 340 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.1135, allocations: 4 kB / 487.5 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.1137, allocations: 99.94 kB / 487.6 MB, free: 236 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.1138, allocations: 43.77 kB / 487.7 MB, free: 192 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.817e-05/0.1139, allocations: 81.31 kB / 487.8 MB, free: 104 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.1141, allocations: 164 kB / 487.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1142, allocations: 0 / 487.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1142, allocations: 4 kB / 487.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1142, allocations: 0 / 487.9 MB, free: 15.94 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006489/0.1148, allocations: 474.7 kB / 488.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1149, allocations: 8.875 kB / 488.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.1149, allocations: 16.75 kB / 488.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.1152, allocations: 252.9 kB / 488.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1153, allocations: 8.375 kB / 488.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1153, allocations: 8.125 kB / 488.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.1155, allocations: 101 kB / 488.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1155, allocations: 0 / 488.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.1156, allocations: 7.984 kB / 488.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.1156, allocations: 3.938 kB / 488.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.1157, allocations: 31.97 kB / 488.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.1159, allocations: 222.5 kB / 489 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.1162, allocations: 109.1 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1163, allocations: 41.64 kB / 489.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1164, allocations: 4 kB / 489.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.1166, allocations: 109 kB / 489.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1166, allocations: 0 / 489.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004359/0.117, allocations: 173.6 kB / 489.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.1171, allocations: 132.5 kB / 489.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.1174, allocations: 237.6 kB / 489.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1174, allocations: 25.7 kB / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.1175, allocations: 116.1 kB / 490 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.1175, allocations: 35.55 kB / 490 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.1176, allocations: 17.7 kB / 490 MB, free: 13.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1177, allocations: 330.8 kB / 490.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.492e-05/0.1178, allocations: 27.98 kB / 490.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.1179, allocations: 69.12 kB / 490.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.1181, allocations: 87.36 kB / 490.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1181, allocations: 0 / 490.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002688/0.1184, allocations: 149.3 kB / 490.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.1184, allocations: 8 kB / 490.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1184, allocations: 0 / 490.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1184, allocations: 0 / 490.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1185, allocations: 23.98 kB / 490.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1185, allocations: 0 / 490.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.883e-05/0.1187, allocations: 11.91 kB / 490.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1187, allocations: 8 kB / 490.7 MB, free: 12.84 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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001152/0.1188, allocations: 142.3 kB / 490.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.1188, allocations: 19.81 kB / 490.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.1189, allocations: 16.98 kB / 490.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1189, allocations: 4 kB / 490.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1189, allocations: 0 / 490.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1189, allocations: 0 / 490.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.1191, allocations: 229.9 kB / 491.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1191, allocations: 0 / 491.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.1192, allocations: 15.92 kB / 491.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1192, allocations: 4 kB / 491.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1192, allocations: 4 kB / 491.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1192, allocations: 3.938 kB / 491.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1192, allocations: 4 kB / 491.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.1195, allocations: 169.6 kB / 491.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.1196, allocations: 108.8 kB / 491.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1196, allocations: 0 / 491.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.1197, allocations: 15.98 kB / 491.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1198, allocations: 4 kB / 491.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.1198, allocations: 7.984 kB / 491.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.12, allocations: 184.4 kB / 491.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.12, allocations: 0 / 491.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.1203, allocations: 51.98 kB / 491.7 MB, free: 11.78 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001098/0.1214, allocations: 0.4891 MB / 492.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1216, allocations: 87.89 kB / 492.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1216, allocations: 0 / 492.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1218, allocations: 39.92 kB / 492.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1221, allocations: 52.56 kB / 492.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/0.1227, allocations: 340.8 kB / 492.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.123, allocations: 0.7206 MB / 493.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.1231, allocations: 31.42 kB / 493.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1231, allocations: 0 / 493.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of Templates: time 0.005374/0.1285, allocations: 3.131 MB / 496.6 MB, free: 7.004 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches