Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 109.6 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 205.8 kB / 18.26 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.4 MB, free: 9.145 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2472/0.2472, allocations: 46.11 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 81.17 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1208, allocations: 62.45 MB / 479.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003552/0.1244, allocations: 1.984 MB / 481.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.1264, allocations: 1.099 MB / 482.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.1266, allocations: 4 kB / 482.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004838/0.1271, allocations: 247.4 kB / 482.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004943/0.1276, allocations: 215.4 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.1279, allocations: 99.78 kB / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.1283, allocations: 271.3 kB / 483.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1285, allocations: 33.66 kB / 483.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.1287, allocations: 131.5 kB / 483.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.1289, allocations: 199.4 kB / 483.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.129, allocations: 8 kB / 483.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.1292, allocations: 63.98 kB / 483.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.792e-05/0.1293, allocations: 71.73 kB / 484 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1294, allocations: 103.2 kB / 484.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.1297, allocations: 243.4 kB / 484.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1298, allocations: 4 kB / 484.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1298, allocations: 0 / 484.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1298, allocations: 0 / 484.3 MB, free: 0.7227 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008444/0.1306, allocations: 0.5835 MB / 484.9 MB, free: 92 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.1307, allocations: 8.031 kB / 484.9 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.1308, allocations: 42.75 kB / 485 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.1308, allocations: 28.56 kB / 485 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.1312, allocations: 290.4 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1313, allocations: 8.359 kB / 485.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.1313, allocations: 11.94 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.1316, allocations: 111.3 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.1316, allocations: 7.844 kB / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1316, allocations: 0 / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1317, allocations: 4 kB / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1318, allocations: 51.95 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.1325, allocations: 480.6 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.1329, allocations: 125.2 kB / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.133, allocations: 45.77 kB / 486.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.1331, allocations: 7.984 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003328/0.1334, allocations: 125.2 kB / 486.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/0.1334, allocations: 0 / 486.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001432/0.1349, allocations: 0.5043 MB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.1349, allocations: 85.05 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/0.1355, allocations: 497.6 kB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1355, allocations: 37.7 kB / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1357, allocations: 172.4 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.278e-05/0.1358, allocations: 67.02 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/0.1358, allocations: 45.7 kB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.136, allocations: 346.8 kB / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1361, allocations: 55.97 kB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.1363, allocations: 91.41 kB / 488.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.1366, allocations: 163.4 kB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1366, allocations: 0 / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004538/0.137, allocations: 240.9 kB / 488.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1371, allocations: 4 kB / 488.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1371, allocations: 8.062 kB / 488.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1371, allocations: 0 / 488.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1373, allocations: 47.97 kB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1373, allocations: 0 / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.313e-05/0.1374, allocations: 8 kB / 488.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.1374, allocations: 11.94 kB / 488.6 MB, free: 12.18 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.0001681/0.1376, allocations: 174.3 kB / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.1377, allocations: 35.56 kB / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.133e-05/0.1377, allocations: 50.88 kB / 488.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1378, allocations: 0 / 488.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1378, allocations: 0 / 488.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1378, allocations: 4 kB / 488.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000955/0.1387, allocations: 0.7467 MB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.1388, allocations: 3.984 kB / 489.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/0.1389, allocations: 27.94 kB / 489.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.1389, allocations: 4 kB / 489.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1389, allocations: 11.98 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.1389, allocations: 4 kB / 489.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1389, allocations: 7.938 kB / 489.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.1394, allocations: 429.9 kB / 490.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.1395, allocations: 100.7 kB / 490.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.509e-05/0.1396, allocations: 8 kB / 490.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.1397, allocations: 11.98 kB / 490.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.1398, allocations: 23.86 kB / 490.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.1399, allocations: 12 kB / 490.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000425/0.1403, allocations: 375.1 kB / 490.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1403, allocations: 0 / 490.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003961/0.1407, allocations: 48 kB / 490.6 MB, free: 9.996 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.002068/0.1428, allocations: 1.356 MB / 492 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.1432, allocations: 174.9 kB / 492.2 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1432, allocations: 3.938 kB / 492.2 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.1434, allocations: 79.84 kB / 492.3 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.1439, allocations: 76.34 kB / 492.3 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.1479, allocations: 3.072 MB / 495.4 MB, free: 5.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.1483, allocations: 0.7908 MB / 496.2 MB, free: 4.453 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.1484, allocations: 41.91 kB / 496.2 MB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.1486, allocations: 99.41 kB / 496.3 MB, free: 4.316 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1486, allocations: 0 / 496.3 MB, free: 4.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.1676, allocations: 6.414 MB / 0.491 GB, free: 14.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.1678, allocations: 250.6 kB / 0.4912 GB, free: 13.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.092, allocations: 4 kB / 0.4912 GB, free: 13.75 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches