Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 205.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 227.4 MB / 247.1 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1722/0.1722, allocations: 46.1 MB / 344.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 83.88 kB / 417.7 MB, free: 7.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1127, allocations: 62.43 MB / 480.2 MB, free: 8.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003147/0.1159, allocations: 1.875 MB / 482 MB, free: 7.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1181, allocations: 1.67 MB / 483.7 MB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.587e-05/0.1183, allocations: 4 kB / 483.7 MB, free: 5.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.1185, allocations: 47.77 kB / 483.8 MB, free: 5.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.1189, allocations: 115.6 kB / 483.9 MB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.1192, allocations: 83.84 kB / 483.9 MB, free: 5.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.1194, allocations: 203.4 kB / 484.1 MB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.1195, allocations: 21.66 kB / 484.2 MB, free: 4.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1196, allocations: 87.58 kB / 484.3 MB, free: 4.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1198, allocations: 87.53 kB / 484.3 MB, free: 4.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.1199, allocations: 8 kB / 484.3 MB, free: 4.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.12, allocations: 111.9 kB / 484.5 MB, free: 4.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.1201, allocations: 39.78 kB / 484.5 MB, free: 4.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.1202, allocations: 63.59 kB / 484.6 MB, free: 4.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.1204, allocations: 164 kB / 484.7 MB, free: 4.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1204, allocations: 4 kB / 484.7 MB, free: 4.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1204, allocations: 0 / 484.7 MB, free: 4.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1205, allocations: 0 / 484.7 MB, free: 4.328 MB / 398.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.0005869/0.121, allocations: 498.4 kB / 485.2 MB, free: 3.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.1211, allocations: 12.03 kB / 485.2 MB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.1211, allocations: 16.75 kB / 485.2 MB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.1214, allocations: 260.8 kB / 485.5 MB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1214, allocations: 384 / 485.5 MB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.1214, allocations: 8.125 kB / 485.5 MB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.1217, allocations: 105 kB / 485.6 MB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.1217, allocations: 0 / 485.6 MB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1217, allocations: 4 kB / 485.6 MB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1217, allocations: 0 / 485.6 MB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.61e-05/0.1218, allocations: 27.92 kB / 485.6 MB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.122, allocations: 226.5 kB / 485.9 MB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.1223, allocations: 105.2 kB / 486 MB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.964e-05/0.1224, allocations: 45.58 kB / 486 MB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1224, allocations: 11.98 kB / 486 MB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.1226, allocations: 101 kB / 486.1 MB, free: 2.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.1226, allocations: 4 kB / 486.1 MB, free: 2.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004022/0.123, allocations: 165.3 kB / 486.3 MB, free: 2.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/0.1231, allocations: 136.5 kB / 486.4 MB, free: 2.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.1233, allocations: 233.6 kB / 486.6 MB, free: 2.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1234, allocations: 29.7 kB / 486.7 MB, free: 2.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.1234, allocations: 116.1 kB / 486.8 MB, free: 2.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.1235, allocations: 27.64 kB / 486.8 MB, free: 1.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.1235, allocations: 33.7 kB / 486.8 MB, free: 1.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1237, allocations: 326.8 kB / 487.2 MB, free: 1.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1238, allocations: 27.98 kB / 487.2 MB, free: 1.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.124, allocations: 81.06 kB / 487.3 MB, free: 1.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.1242, allocations: 83.92 kB / 487.3 MB, free: 1.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.1242, allocations: 0 / 487.3 MB, free: 1.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00034/0.1246, allocations: 149.3 kB / 487.5 MB, free: 1.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1246, allocations: 4 kB / 487.5 MB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1246, allocations: 4 kB / 487.5 MB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1246, allocations: 0 / 487.5 MB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.1248, allocations: 23.98 kB / 487.5 MB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.1248, allocations: 0 / 487.5 MB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.125, allocations: 15.84 kB / 487.5 MB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.125, allocations: 4 kB / 487.5 MB, free: 1.191 MB / 398.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.000123/0.1251, allocations: 146.3 kB / 487.7 MB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.1252, allocations: 15.81 kB / 487.7 MB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.1252, allocations: 24.98 kB / 487.7 MB, free: 1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1252, allocations: 0 / 487.7 MB, free: 1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1252, allocations: 0 / 487.7 MB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1253, allocations: 4 kB / 487.7 MB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.1255, allocations: 229.3 kB / 488 MB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1255, allocations: 0 / 488 MB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.1255, allocations: 8 kB / 488 MB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1255, allocations: 11.92 kB / 488 MB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.1255, allocations: 8 kB / 488 MB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1256, allocations: 0 / 488 MB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1256, allocations: 7.875 kB / 488 MB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.1259, allocations: 165.7 kB / 488.2 MB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.126, allocations: 96.84 kB / 488.2 MB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.126, allocations: 4 kB / 488.2 MB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.1261, allocations: 8 kB / 488.3 MB, free: 388 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1261, allocations: 7.984 kB / 488.3 MB, free: 380 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.1261, allocations: 12.12 kB / 488.3 MB, free: 368 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.1263, allocations: 180.5 kB / 488.5 MB, free: 188 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1263, allocations: 0 / 488.5 MB, free: 188 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.1266, allocations: 48 kB / 488.5 MB, free: 140 kB / 398.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.001066/0.1277, allocations: 0.4963 MB / 489 MB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.128, allocations: 91.78 kB / 489.1 MB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.128, allocations: 3.938 kB / 489.1 MB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.611e-05/0.1281, allocations: 35.98 kB / 489.1 MB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1284, allocations: 59.05 kB / 489.2 MB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.1289, allocations: 345.9 kB / 489.5 MB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1292, allocations: 0.7203 MB / 490.2 MB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.1292, allocations: 31.42 kB / 490.3 MB, free: 14.47 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1292, allocations: 0 / 490.3 MB, free: 14.47 MB / 414.1 MB Notification: Performance of Templates: time 0.5553/0.6845, allocations: 3.17 MB / 493.4 MB, free: 11.32 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches