Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 115.7 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 80.41 kB / 417.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1168, allocations: 62.43 MB / 479.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003254/0.1201, allocations: 1.889 MB / 481.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1221, allocations: 1.084 MB / 482.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.923e-05/0.1222, allocations: 0 / 482.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005508/0.1228, allocations: 299.4 kB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005019/0.1233, allocations: 243.4 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.1236, allocations: 91.84 kB / 483.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000369/0.124, allocations: 259.3 kB / 483.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.711e-05/0.1241, allocations: 13.67 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.1243, allocations: 135.5 kB / 483.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.1245, allocations: 207.4 kB / 483.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.1246, allocations: 4 kB / 483.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1247, allocations: 47.98 kB / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.1249, allocations: 139.5 kB / 483.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.125, allocations: 154.7 kB / 484 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.1255, allocations: 375 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1255, allocations: 0 / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1255, allocations: 0 / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1255, allocations: 0 / 484.4 MB, free: 0.6719 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001149/0.1266, allocations: 0.7424 MB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1267, allocations: 8.031 kB / 485.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.1268, allocations: 48.28 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.1274, allocations: 455.7 kB / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1274, allocations: 8.375 kB / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1275, allocations: 12.12 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.1277, allocations: 83.34 kB / 485.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1277, allocations: 0 / 485.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.1277, allocations: 4 kB / 485.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1277, allocations: 0 / 485.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.1279, allocations: 31.91 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.1283, allocations: 382.3 kB / 486.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.1286, allocations: 101.2 kB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.1287, allocations: 49.56 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1287, allocations: 8 kB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002925/0.129, allocations: 109.1 kB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.129, allocations: 0 / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004986/0.1295, allocations: 197.4 kB / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.1296, allocations: 85.09 kB / 486.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.1308, allocations: 1.05 MB / 487.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1308, allocations: 25.7 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.131, allocations: 240.1 kB / 488 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.1311, allocations: 31.62 kB / 488 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.1311, allocations: 29.66 kB / 488 MB, free: 12.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1313, allocations: 378.7 kB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.983e-05/0.1314, allocations: 27.98 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.914e-05/0.1315, allocations: 55.42 kB / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.1317, allocations: 91.41 kB / 488.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1317, allocations: 0 / 488.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003089/0.132, allocations: 180.8 kB / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1321, allocations: 4 kB / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1321, allocations: 4 kB / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1321, allocations: 0 / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.1322, allocations: 23.92 kB / 488.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1322, allocations: 4 kB / 488.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.801e-05/0.1324, allocations: 11.92 kB / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1324, allocations: 4 kB / 488.8 MB, free: 11.95 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.000222/0.1326, allocations: 225.8 kB / 489 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.1327, allocations: 55.33 kB / 489.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.999e-05/0.1328, allocations: 60.14 kB / 489.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1328, allocations: 4 kB / 489.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1328, allocations: 0 / 489.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1328, allocations: 0 / 489.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.1331, allocations: 341.4 kB / 489.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1331, allocations: 4 kB / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.1332, allocations: 8.062 kB / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1332, allocations: 4 kB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.1332, allocations: 11.92 kB / 489.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1332, allocations: 4 kB / 489.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1332, allocations: 0 / 489.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.1335, allocations: 205.2 kB / 489.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.1337, allocations: 140.4 kB / 489.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.1337, allocations: 0 / 489.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.15e-05/0.1338, allocations: 7.984 kB / 489.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.1339, allocations: 15.98 kB / 489.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.1339, allocations: 4 kB / 489.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007948/0.1347, allocations: 0.7878 MB / 490.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1347, allocations: 0 / 490.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.135, allocations: 40 kB / 490.7 MB, free: 9.957 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.0009559/0.136, allocations: 411.9 kB / 491.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.1362, allocations: 95.83 kB / 491.2 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1362, allocations: 0 / 491.2 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1364, allocations: 39.98 kB / 491.2 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.1368, allocations: 73.19 kB / 491.3 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1381, allocations: 0.9761 MB / 492.3 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.1386, allocations: 0.8427 MB / 493.1 MB, free: 7.609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.1387, allocations: 62.94 kB / 493.2 MB, free: 7.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/0.1388, allocations: 27.44 kB / 493.2 MB, free: 7.523 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1388, allocations: 3.938 kB / 493.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of Templates: time 0.007982/0.1468, allocations: 3.718 MB / 496.9 MB, free: 3.82 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches