Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.09 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 77.25 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1296, allocations: 62.44 MB / 480 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003724/0.1334, allocations: 1.732 MB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.1354, allocations: 1.024 MB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.1355, allocations: 4 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.1359, allocations: 35.77 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.1362, allocations: 99.53 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.1365, allocations: 75.72 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.1367, allocations: 107.6 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1368, allocations: 15.98 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.173e-05/0.1369, allocations: 43.8 kB / 483.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.137, allocations: 31.78 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.137, allocations: 4 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1371, allocations: 39.98 kB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.45e-05/0.1372, allocations: 23.91 kB / 483.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.1372, allocations: 35.75 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.1375, allocations: 115.9 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1375, allocations: 0 / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1375, allocations: 3.938 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1375, allocations: 4 kB / 483.4 MB, free: 1.859 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006102/0.1381, allocations: 414.9 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1382, allocations: 8.031 kB / 483.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.1382, allocations: 16.83 kB / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1385, allocations: 208.8 kB / 484 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1385, allocations: 4.312 kB / 484 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.1385, allocations: 20.03 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1387, allocations: 53.67 kB / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1387, allocations: 0 / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1387, allocations: 7.938 kB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1387, allocations: 0 / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.11e-05/0.1388, allocations: 19.98 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.1391, allocations: 284.8 kB / 484.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1393, allocations: 58.67 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.1394, allocations: 24.8 kB / 484.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.1394, allocations: 4 kB / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.1397, allocations: 63.39 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1397, allocations: 0 / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005656/0.1402, allocations: 177.4 kB / 484.7 MB, free: 360 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.1403, allocations: 55.41 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1405, allocations: 194.4 kB / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1405, allocations: 29.7 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.1406, allocations: 108.1 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.1406, allocations: 23.7 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.1407, allocations: 17.72 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1408, allocations: 326.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.1409, allocations: 23.98 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.187e-05/0.141, allocations: 33.7 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1411, allocations: 69.64 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1411, allocations: 0 / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001722/0.1413, allocations: 101.4 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1413, allocations: 8 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1413, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1413, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.1414, allocations: 15.98 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1414, allocations: 8.031 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.1415, allocations: 7.938 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1415, allocations: 4 kB / 485.7 MB, free: 15.28 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.0001066/0.1416, allocations: 121.8 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1416, allocations: 11.91 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.1417, allocations: 17.41 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1417, allocations: 4.125 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1417, allocations: 3.938 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1417, allocations: 7.875 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.1422, allocations: 399.3 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1422, allocations: 3.938 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.1422, allocations: 8 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1422, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1423, allocations: 7.938 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1423, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1423, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.1425, allocations: 204.5 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.1426, allocations: 88.92 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.1426, allocations: 7.938 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-05/0.1427, allocations: 0 / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.1427, allocations: 15.92 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1428, allocations: 4 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.1429, allocations: 152.2 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1429, allocations: 0 / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1432, allocations: 24 kB / 486.8 MB, free: 14.11 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.001174/0.1444, allocations: 469.7 kB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.1446, allocations: 71.89 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1446, allocations: 0 / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.417e-05/0.1447, allocations: 23.98 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.145, allocations: 33.97 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.1456, allocations: 231.1 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.1459, allocations: 0.708 MB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.801e-05/0.146, allocations: 21.17 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.146, allocations: 15.44 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.146, allocations: 0 / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of Templates: time 0.004704/0.1507, allocations: 1.727 MB / 490.1 MB, free: 10.95 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches