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.001317/0.001317, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2528/0.2528, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 75.5 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1154, allocations: 62.45 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003384/0.1188, allocations: 1.818 MB / 481.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.1212, allocations: 1.698 MB / 483.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.73e-05/0.1213, allocations: 3.938 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.1217, allocations: 55.69 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.1221, allocations: 135.4 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1223, allocations: 107.6 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.1226, allocations: 203.3 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.208e-05/0.1226, allocations: 13.67 kB / 484.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.1228, allocations: 83.69 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.123, allocations: 83.56 kB / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.1231, allocations: 8 kB / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.1233, allocations: 115.9 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.1233, allocations: 43.77 kB / 484.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.63e-05/0.1234, allocations: 59.61 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.1237, allocations: 223.6 kB / 484.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1237, allocations: 0 / 484.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1237, allocations: 0 / 484.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1238, allocations: 0 / 484.7 MB, free: 0.6367 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.000752/0.1245, allocations: 498.5 kB / 485.1 MB, free: 104 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1246, allocations: 12.03 kB / 485.2 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.1246, allocations: 24.66 kB / 485.2 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.1249, allocations: 248.9 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.125, allocations: 8.359 kB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.125, allocations: 8.125 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.1252, allocations: 97.03 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1252, allocations: 0 / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.1253, allocations: 3.984 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1253, allocations: 4 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1254, allocations: 27.98 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.1257, allocations: 222.4 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1259, allocations: 105.2 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.126, allocations: 41.64 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.1261, allocations: 7.984 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.1263, allocations: 113 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1263, allocations: 4 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004435/0.1268, allocations: 161.4 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.1268, allocations: 132.5 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.1271, allocations: 233.6 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1271, allocations: 29.7 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.1272, allocations: 112.1 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.1273, allocations: 35.64 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.1273, allocations: 25.72 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1275, allocations: 334.8 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.182e-05/0.1275, allocations: 27.98 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1277, allocations: 76.62 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.1279, allocations: 95.89 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1279, allocations: 0 / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002699/0.1281, allocations: 141.3 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1282, allocations: 11.98 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1282, allocations: 0 / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1282, allocations: 0 / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1283, allocations: 20 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1283, allocations: 11.98 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.862e-05/0.1284, allocations: 7.984 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1284, allocations: 11.94 kB / 487.5 MB, free: 13.5 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.0001205/0.1286, allocations: 137.8 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.1286, allocations: 19.72 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.1287, allocations: 17 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1287, allocations: 3.984 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1287, allocations: 4 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1287, allocations: 4 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1289, allocations: 229.4 kB / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1289, allocations: 0 / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.1289, allocations: 8 kB / 487.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1289, allocations: 3.938 kB / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.129, allocations: 7.984 kB / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.129, allocations: 0 / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.129, allocations: 0 / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.1293, allocations: 177.6 kB / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.1293, allocations: 92.91 kB / 488.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.1294, allocations: 0 / 488.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.1294, allocations: 12.12 kB / 488.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.1295, allocations: 7.984 kB / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.1295, allocations: 8 kB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.1297, allocations: 176.5 kB / 488.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1297, allocations: 0 / 488.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.13, allocations: 63.98 kB / 488.4 MB, free: 12.45 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.001083/0.1311, allocations: 490.5 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.1313, allocations: 87.83 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1313, allocations: 0 / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.1315, allocations: 39.98 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1318, allocations: 54.95 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/0.1324, allocations: 304 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1327, allocations: 0.7164 MB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.657e-05/0.1328, allocations: 34.02 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.1329, allocations: 35.36 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1329, allocations: 4 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of Templates: time 0.006441/0.1393, allocations: 3.1 MB / 493.3 MB, free: 7.727 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches