Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007825/0.0007825, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001187, allocations: 203.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.7 MB / 246.8 MB, free: 9.746 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1997/0.1997, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003113, allocations: 12.33 kB / 419.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 63.56 MB / 483.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002083/0.1231, allocations: 1.446 MB / 484.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.1255, allocations: 1.573 MB / 486.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.219e-05/0.1256, allocations: 4 kB / 486.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.1259, allocations: 31.84 kB / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.1264, allocations: 83.73 kB / 486.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.1267, allocations: 63.81 kB / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.1269, allocations: 103.7 kB / 486.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.127, allocations: 8 kB / 486.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1272, allocations: 43.78 kB / 486.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.1274, allocations: 43.77 kB / 486.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1274, allocations: 7.938 kB / 486.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.1277, allocations: 99.94 kB / 486.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.1278, allocations: 15.92 kB / 486.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.334e-05/0.1279, allocations: 57.48 kB / 486.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.1283, allocations: 167.6 kB / 486.8 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1283, allocations: 4 kB / 486.8 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1283, allocations: 0 / 486.8 MB, free: 348 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1283, allocations: 0 / 486.8 MB, free: 348 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007424/0.1291, allocations: 403.2 kB / 487.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1291, allocations: 16.88 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/0.1292, allocations: 8.844 kB / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.1295, allocations: 212.6 kB / 487.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1296, allocations: 11.94 kB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.1296, allocations: 0 / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.1298, allocations: 75.31 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1299, allocations: 0 / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1299, allocations: 0 / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1299, allocations: 8 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.487e-05/0.13, allocations: 15.98 kB / 487.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.1305, allocations: 284.9 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1307, allocations: 62.61 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.1308, allocations: 24.84 kB / 487.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.1308, allocations: 4 kB / 487.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.131, allocations: 63.39 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.131, allocations: 0 / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005988/0.1316, allocations: 177.1 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.1317, allocations: 81.05 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.1319, allocations: 166.4 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1319, allocations: 33.7 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.132, allocations: 92.14 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.132, allocations: 27.64 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.1321, allocations: 17.72 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1322, allocations: 318.8 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.1323, allocations: 27.92 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.711e-05/0.1324, allocations: 42.56 kB / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.1325, allocations: 61.8 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1325, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.1327, allocations: 109.5 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1327, allocations: 6.344 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1327, allocations: 0 / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1328, allocations: 0 / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.255e-05/0.1329, allocations: 19.98 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1329, allocations: 3.938 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.825e-05/0.1329, allocations: 11.97 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.133, allocations: 0 / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.000184/0.1331, allocations: 128.6 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.1332, allocations: 11.81 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.324e-05/0.1332, allocations: 12.72 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1332, allocations: 0 / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.1332, allocations: 7.938 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1333, allocations: 384 / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.1337, allocations: 395.3 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.1337, allocations: 4 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.1338, allocations: 15.92 kB / 489.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1338, allocations: 0 / 489.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1338, allocations: 4 kB / 489.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1338, allocations: 0 / 489.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1338, allocations: 0 / 489.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.1342, allocations: 204.3 kB / 489.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.1342, allocations: 96.94 kB / 490 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.1343, allocations: 0 / 490 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.1343, allocations: 4 kB / 490 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.1344, allocations: 11.98 kB / 490 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1344, allocations: 4.188 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1345, allocations: 124.5 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1345, allocations: 7.938 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.1349, allocations: 47.98 kB / 490.2 MB, free: 12.59 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001301/0.1362, allocations: 0.5353 MB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.1364, allocations: 63.89 kB / 490.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1364, allocations: 0 / 490.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.1365, allocations: 31.94 kB / 490.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1369, allocations: 31.91 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.1374, allocations: 222.1 kB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.1377, allocations: 0.7004 MB / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.707e-05/0.1378, allocations: 25.16 kB / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.1379, allocations: 23.42 kB / 491.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1379, allocations: 4 kB / 491.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of Templates: time 0.00641/0.1443, allocations: 2.268 MB / 494.1 MB, free: 8.828 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches