Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008172/0.0008172, allocations: 93.22 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.000927/0.000927, allocations: 203.6 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.497/1.497, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.19 MB / 345.2 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003185, allocations: 12 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1219, allocations: 63.56 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002162/0.1241, allocations: 1.454 MB / 484.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1258, allocations: 1 MB / 485.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.528e-05/0.1259, allocations: 0 / 485.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.1263, allocations: 111.7 kB / 485.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.1266, allocations: 107.7 kB / 485.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.1268, allocations: 59.88 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.1271, allocations: 119.7 kB / 485.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.1272, allocations: 19.94 kB / 486 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1273, allocations: 47.78 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1274, allocations: 67.73 kB / 486.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1274, allocations: 0 / 486.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1276, allocations: 59.97 kB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.1276, allocations: 19.92 kB / 486.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.759e-05/0.1277, allocations: 77.25 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.128, allocations: 139.8 kB / 486.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.128, allocations: 0 / 486.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.128, allocations: 0 / 486.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.128, allocations: 4 kB / 486.4 MB, free: 0.8477 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.0005851/0.1286, allocations: 429.5 kB / 486.8 MB, free: 392 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1286, allocations: 8.875 kB / 486.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.1287, allocations: 16.75 kB / 486.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.129, allocations: 215.9 kB / 487 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.129, allocations: 16.36 kB / 487 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.129, allocations: 12.06 kB / 487.1 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1292, allocations: 57.67 kB / 487.1 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1292, allocations: 7.922 kB / 487.1 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1292, allocations: 4 kB / 487.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1292, allocations: 0 / 487.1 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.961e-05/0.1294, allocations: 23.98 kB / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.1298, allocations: 300.8 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1301, allocations: 66.5 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.339e-05/0.1302, allocations: 24.97 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1302, allocations: 3.938 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.1304, allocations: 67.39 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.1304, allocations: 0 / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008565/0.1313, allocations: 245 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1314, allocations: 71.28 kB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.1316, allocations: 247.2 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1316, allocations: 29.7 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.818e-05/0.1317, allocations: 116 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.1318, allocations: 31.55 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.1318, allocations: 17.72 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.132, allocations: 326.8 kB / 488.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.133e-05/0.132, allocations: 27.98 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.831e-05/0.1321, allocations: 49.7 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.1323, allocations: 77.64 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1323, allocations: 3.938 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000236/0.1325, allocations: 133.5 kB / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1326, allocations: 4 kB / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1326, allocations: 0 / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1326, allocations: 4.031 kB / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.1327, allocations: 27.92 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1327, allocations: 3.938 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.1328, allocations: 4 kB / 489 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1328, allocations: 4 kB / 489 MB, free: 13.99 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 (13): * Single equations (assignments): 13 * 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.0001127/0.1329, allocations: 133.8 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.1329, allocations: 15.81 kB / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.133, allocations: 21.39 kB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.133, allocations: 4 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.133, allocations: 7.875 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.133, allocations: 4 kB / 489.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.1336, allocations: 456 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1336, allocations: 0 / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.1337, allocations: 15.98 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1337, allocations: 0 / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1337, allocations: 16 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1337, allocations: 4 kB / 489.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1337, allocations: 0 / 489.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.134, allocations: 237 kB / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.1341, allocations: 88.92 kB / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.1341, allocations: 12 kB / 490 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-05/0.1342, allocations: 3.984 kB / 490 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.1343, allocations: 11.94 kB / 490 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.1343, allocations: 11.98 kB / 490 MB, free: 12.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.1345, allocations: 188.2 kB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1345, allocations: 3.938 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.1348, allocations: 28 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001278/0.1361, allocations: 0.4977 MB / 490.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.1363, allocations: 71.92 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1363, allocations: 3.938 kB / 490.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.828e-05/0.1364, allocations: 39.92 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.1368, allocations: 39.45 kB / 490.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.1374, allocations: 347.9 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.1377, allocations: 0.72 MB / 491.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.324e-05/0.1378, allocations: 24.62 kB / 492 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.1379, allocations: 19.44 kB / 492 MB, free: 11.01 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1379, allocations: 0 / 492 MB, free: 11.01 MB / 366.1 MB Notification: Performance of Templates: time 0.004927/0.1428, allocations: 1.9 MB / 493.9 MB, free: 9.121 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches