Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 92.47 kB / 17.35 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001543, allocations: 195.6 kB / 18.28 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 12 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1276, allocations: 63.56 MB / 483.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002732/0.1304, allocations: 1.45 MB / 484.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.1325, allocations: 0.9902 MB / 485.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.1326, allocations: 0 / 485.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.1332, allocations: 39.88 kB / 485.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.1336, allocations: 79.67 kB / 485.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1339, allocations: 63.88 kB / 485.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.1342, allocations: 99.69 kB / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1343, allocations: 12 kB / 485.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.1345, allocations: 47.72 kB / 486 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1346, allocations: 35.78 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1346, allocations: 0 / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.1348, allocations: 39.98 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.641e-05/0.1348, allocations: 15.92 kB / 486.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/0.1349, allocations: 65.44 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.1352, allocations: 115.8 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1352, allocations: 0 / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1352, allocations: 4 kB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.1353, allocations: 0 / 486.2 MB, free: 1.012 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.0007656/0.136, allocations: 413.2 kB / 486.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.1361, allocations: 8.875 kB / 486.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.822e-05/0.1362, allocations: 42.73 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.1362, allocations: 12.84 kB / 486.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.1365, allocations: 208 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1365, allocations: 4.375 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.1366, allocations: 7.938 kB / 486.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1367, allocations: 61.61 kB / 487 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1368, allocations: 0 / 487 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1368, allocations: 0 / 487 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1368, allocations: 0 / 487 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.1369, allocations: 19.98 kB / 487 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.1373, allocations: 284.9 kB / 487.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1375, allocations: 66.61 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.1375, allocations: 20.84 kB / 487.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.1376, allocations: 7.906 kB / 487.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.1378, allocations: 63.39 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.1378, allocations: 0 / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005361/0.1383, allocations: 181.1 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.1384, allocations: 59.39 kB / 487.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.1386, allocations: 206.8 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1386, allocations: 33.64 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.1387, allocations: 104.1 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.1387, allocations: 19.72 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.1388, allocations: 17.7 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1389, allocations: 326.8 kB / 488.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.687e-05/0.139, allocations: 16 kB / 488.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.139, allocations: 41.64 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1392, allocations: 57.7 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1392, allocations: 0 / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002107/0.1394, allocations: 113.4 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1394, allocations: 4 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1394, allocations: 4.031 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1395, allocations: 0 / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.55e-05/0.1396, allocations: 16 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1396, allocations: 0 / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.1396, allocations: 15.86 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1396, allocations: 0 / 488.6 MB, free: 14.38 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.0001057/0.1397, allocations: 136.2 kB / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.1398, allocations: 7.906 kB / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.1398, allocations: 21.39 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1398, allocations: 4 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1399, allocations: 384 / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1399, allocations: 3.938 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.1403, allocations: 407.4 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1403, allocations: 4 kB / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.1403, allocations: 4 kB / 489.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1404, allocations: 7.938 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1404, allocations: 4.188 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1404, allocations: 4.031 kB / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1404, allocations: 7.938 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.1406, allocations: 200.2 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.1407, allocations: 92.92 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1407, allocations: 3.938 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.1408, allocations: 4 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.1408, allocations: 11.98 kB / 489.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.1408, allocations: 4 kB / 489.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.141, allocations: 160.2 kB / 489.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.141, allocations: 0 / 489.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1412, allocations: 27.98 kB / 489.7 MB, free: 13.18 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.001354/0.1426, allocations: 1.072 MB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.1428, allocations: 63.95 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1428, allocations: 4.062 kB / 490.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.664e-05/0.1428, allocations: 23.94 kB / 490.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.1432, allocations: 35.91 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.1448, allocations: 1.71 MB / 492.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.1451, allocations: 0.7004 MB / 493.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.472e-05/0.1451, allocations: 20.55 kB / 493.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.1452, allocations: 39.42 kB / 493.4 MB, free: 9.539 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1452, allocations: 0 / 493.4 MB, free: 9.539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.1574, allocations: 3.062 MB / 496.4 MB, free: 6.605 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/0.1576, allocations: 240.3 kB / 496.7 MB, free: 6.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/1.882, allocations: 3.75 kB / 496.7 MB, free: 6.348 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches