Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00082/0.00082, allocations: 96.91 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009423/0.0009425, allocations: 201.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1999/0.1999, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002616, allocations: 12 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002172/0.1204, allocations: 1.625 MB / 484.8 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1222, allocations: 1.102 MB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1223, allocations: 3.938 kB / 485.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.1228, allocations: 247.5 kB / 486.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000408/0.1232, allocations: 207.4 kB / 486.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.1235, allocations: 99.83 kB / 486.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.1238, allocations: 259.2 kB / 486.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1239, allocations: 33.67 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.1241, allocations: 119.5 kB / 486.9 MB, free: 380 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.1243, allocations: 183.4 kB / 487 MB, free: 196 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1244, allocations: 4 kB / 487 MB, free: 192 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1245, allocations: 59.97 kB / 487.1 MB, free: 132 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.1246, allocations: 59.77 kB / 487.2 MB, free: 72 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1247, allocations: 120.9 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.125, allocations: 243.3 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.125, allocations: 3.938 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.125, allocations: 3.938 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.125, allocations: 0 / 487.5 MB, free: 15.7 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006505/0.1257, allocations: 0.5332 MB / 488.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1257, allocations: 8.875 kB / 488.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.1258, allocations: 38.75 kB / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.1259, allocations: 40.47 kB / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.1262, allocations: 298.4 kB / 488.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1262, allocations: 384 / 488.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.1262, allocations: 19.92 kB / 488.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.1264, allocations: 99.36 kB / 488.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.1265, allocations: 3.984 kB / 488.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1265, allocations: 4 kB / 488.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1265, allocations: 4 kB / 488.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.1266, allocations: 51.91 kB / 488.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.1272, allocations: 480.7 kB / 489.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.1275, allocations: 129.2 kB / 489.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.67e-05/0.1276, allocations: 41.83 kB / 489.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1277, allocations: 4 kB / 489.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.1279, allocations: 124.6 kB / 489.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.1279, allocations: 4 kB / 489.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001234/0.1291, allocations: 0.5038 MB / 489.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.1292, allocations: 85.11 kB / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.1297, allocations: 497.6 kB / 490.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1297, allocations: 29.7 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.1299, allocations: 180.4 kB / 490.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.1299, allocations: 67.08 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.13, allocations: 29.7 kB / 490.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1301, allocations: 350.8 kB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1302, allocations: 55.92 kB / 491.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1304, allocations: 91.39 kB / 491.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.1306, allocations: 163.5 kB / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1307, allocations: 0 / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000562/0.1312, allocations: 241 kB / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1313, allocations: 4 kB / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.1313, allocations: 4 kB / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1313, allocations: 0 / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.1315, allocations: 51.98 kB / 491.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1315, allocations: 0 / 491.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1316, allocations: 11.98 kB / 491.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.1317, allocations: 8 kB / 491.7 MB, free: 11.21 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001588/0.1318, allocations: 182.2 kB / 491.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.1319, allocations: 39.47 kB / 491.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.8e-05/0.132, allocations: 46.83 kB / 492 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.132, allocations: 0 / 492 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.132, allocations: 11.98 kB / 492 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.132, allocations: 0 / 492 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008651/0.1329, allocations: 0.7351 MB / 492.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1329, allocations: 4.031 kB / 492.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.073e-05/0.133, allocations: 27.98 kB / 492.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.133, allocations: 4 kB / 492.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.133, allocations: 8 kB / 492.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.133, allocations: 11.92 kB / 492.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.133, allocations: 3.938 kB / 492.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.1335, allocations: 413.8 kB / 493.2 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.1336, allocations: 116.6 kB / 493.3 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.1336, allocations: 4 kB / 493.3 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.1338, allocations: 15.98 kB / 493.3 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.1338, allocations: 23.92 kB / 493.3 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.1339, allocations: 15.92 kB / 493.4 MB, free: 9.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003351/0.1342, allocations: 375.1 kB / 493.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1342, allocations: 0 / 493.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.1346, allocations: 48 kB / 493.8 MB, free: 9.027 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001876/0.1364, allocations: 1.368 MB / 495.1 MB, free: 7.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003691/0.1368, allocations: 159.5 kB / 495.3 MB, free: 7.656 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1368, allocations: 3.938 kB / 495.3 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.137, allocations: 79.84 kB / 495.4 MB, free: 7.574 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006709/0.1377, allocations: 57.95 kB / 495.4 MB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.1414, allocations: 3.079 MB / 498.5 MB, free: 4.309 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.1418, allocations: 0.7794 MB / 499.3 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.1419, allocations: 41.86 kB / 499.3 MB, free: 3.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.1421, allocations: 103.4 kB / 499.4 MB, free: 3.359 MB / 366.1 MB Notification: Performance of SimCode: time 2.144e-06/0.1421, allocations: 0 / 499.4 MB, free: 3.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.1607, allocations: 6.054 MB / 0.4936 GB, free: 13.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.1609, allocations: 239.6 kB / 0.4939 GB, free: 13.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/1.921, allocations: 0 / 0.4939 GB, free: 13.18 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches