Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007469/0.0007468, allocations: 96.94 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008832/0.0008837, allocations: 208.1 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.325/1.325, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1896/0.1896, allocations: 46.18 MB / 345.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 12 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1125, allocations: 63.57 MB / 483.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002348/0.1149, allocations: 1.54 MB / 485.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.117, allocations: 1.072 MB / 486.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.1171, allocations: 0 / 486.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.1177, allocations: 299.4 kB / 486.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004545/0.1181, allocations: 235.4 kB / 486.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.1184, allocations: 95.78 kB / 487 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.1187, allocations: 247.4 kB / 487.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.869e-05/0.1188, allocations: 13.69 kB / 487.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.119, allocations: 123.4 kB / 487.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.1192, allocations: 195.5 kB / 487.5 MB, free: 308 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.1193, allocations: 4 kB / 487.5 MB, free: 304 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1194, allocations: 35.98 kB / 487.6 MB, free: 268 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.1195, allocations: 135.5 kB / 487.7 MB, free: 132 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.1197, allocations: 176.5 kB / 487.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.12, allocations: 279.8 kB / 488.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.12, allocations: 0 / 488.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.12, allocations: 8 kB / 488.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.12, allocations: 0 / 488.2 MB, free: 15.67 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.0008811/0.1209, allocations: 0.6765 MB / 488.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.121, allocations: 16.86 kB / 488.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.351e-05/0.1211, allocations: 44.38 kB / 488.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/0.1216, allocations: 459.8 kB / 489.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1217, allocations: 8.312 kB / 489.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.1217, allocations: 8.125 kB / 489.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1219, allocations: 87.36 kB / 489.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1219, allocations: 0 / 489.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1219, allocations: 3.938 kB / 489.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1219, allocations: 0 / 489.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.122, allocations: 27.98 kB / 489.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.1224, allocations: 382.3 kB / 489.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1227, allocations: 109.2 kB / 490 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.1228, allocations: 41.64 kB / 490 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1229, allocations: 4 kB / 490 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.1231, allocations: 105 kB / 490.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.1231, allocations: 0 / 490.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000477/0.1236, allocations: 200.9 kB / 490.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.1236, allocations: 85.11 kB / 490.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.1247, allocations: 1.058 MB / 491.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1247, allocations: 25.7 kB / 491.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1249, allocations: 236.1 kB / 491.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.125, allocations: 31.62 kB / 491.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.125, allocations: 17.72 kB / 491.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1252, allocations: 366.8 kB / 492.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.475e-05/0.1252, allocations: 27.98 kB / 492.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.685e-05/0.1253, allocations: 59.42 kB / 492.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.1255, allocations: 91.84 kB / 492.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1255, allocations: 0 / 492.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002963/0.1258, allocations: 168.9 kB / 492.4 MB, free: 11.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1259, allocations: 12.06 kB / 492.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1259, allocations: 3.938 kB / 492.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1259, allocations: 7.922 kB / 492.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.126, allocations: 20 kB / 492.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.126, allocations: 0 / 492.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1261, allocations: 23.83 kB / 492.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.1262, allocations: 4 kB / 492.5 MB, free: 11.03 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.0002073/0.1264, allocations: 230.5 kB / 492.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.1264, allocations: 51.34 kB / 492.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.484e-05/0.1265, allocations: 60.14 kB / 492.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1265, allocations: 3.938 kB / 492.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1266, allocations: 4 kB / 492.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1266, allocations: 0 / 492.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.1269, allocations: 345.4 kB / 493.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1269, allocations: 0 / 493.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.1269, allocations: 11.98 kB / 493.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1269, allocations: 0 / 493.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.127, allocations: 7.984 kB / 493.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.127, allocations: 0 / 493.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.127, allocations: 4 kB / 493.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.1273, allocations: 201.2 kB / 493.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.1274, allocations: 148.4 kB / 493.6 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.1275, allocations: 0 / 493.6 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.1276, allocations: 11.98 kB / 493.6 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.1276, allocations: 15.98 kB / 493.6 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1276, allocations: 4 kB / 493.6 MB, free: 9.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007803/0.1284, allocations: 0.7839 MB / 494.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1284, allocations: 0 / 494.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1287, allocations: 40 kB / 494.4 MB, free: 9.027 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.0009138/0.1296, allocations: 409.8 kB / 494.8 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.1299, allocations: 87.95 kB / 494.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1299, allocations: 0 / 494.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.13, allocations: 43.92 kB / 494.9 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.1304, allocations: 70.14 kB / 495 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.1317, allocations: 1.02 MB / 496 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.1321, allocations: 0.843 MB / 496.9 MB, free: 6.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.1322, allocations: 27.42 kB / 496.9 MB, free: 6.602 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1322, allocations: 4 kB / 496.9 MB, free: 6.598 MB / 366.1 MB Notification: Performance of Templates: time 0.008127/0.1403, allocations: 5.069 MB / 0.4902 GB, free: 1.535 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches