Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, 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.001332/0.001332, allocations: 212.6 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.404/1.404, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 76.72 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1182, allocations: 62.44 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004611/0.1229, allocations: 1.829 MB / 482 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.1264, allocations: 1.7 MB / 483.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1265, allocations: 7.938 kB / 483.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.1269, allocations: 43.7 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005128/0.1275, allocations: 143.4 kB / 483.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.1278, allocations: 103.6 kB / 484 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.1281, allocations: 203.4 kB / 484.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.065e-05/0.1282, allocations: 17.67 kB / 484.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1284, allocations: 83.58 kB / 484.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.1287, allocations: 87.55 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.1288, allocations: 8 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.1291, allocations: 111.9 kB / 484.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.164e-05/0.1292, allocations: 39.78 kB / 484.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1293, allocations: 55.61 kB / 484.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.1297, allocations: 223.6 kB / 484.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1297, allocations: 4 kB / 484.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1298, allocations: 0 / 484.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1298, allocations: 0 / 484.8 MB, free: 0.5547 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.0008825/0.1307, allocations: 494.5 kB / 485.3 MB, free: 24 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.1307, allocations: 12.03 kB / 485.3 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.823e-05/0.1308, allocations: 38.73 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.357e-05/0.1309, allocations: 20.66 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.1313, allocations: 252.9 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1314, allocations: 8.375 kB / 485.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1314, allocations: 11.94 kB / 485.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.1317, allocations: 97.02 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1317, allocations: 0 / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1317, allocations: 4 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1317, allocations: 0 / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.1319, allocations: 27.98 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.1322, allocations: 230.4 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.1326, allocations: 105.2 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.1327, allocations: 41.7 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.1328, allocations: 3.984 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.1332, allocations: 113 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.1332, allocations: 0 / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005842/0.1338, allocations: 169.4 kB / 486.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.472e-05/0.1339, allocations: 132.5 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.1342, allocations: 237.6 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.1343, allocations: 25.7 kB / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.172e-05/0.1344, allocations: 116.1 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.1345, allocations: 31.64 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.1345, allocations: 33.7 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1347, allocations: 326.8 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.1348, allocations: 31.98 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.135, allocations: 77.06 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.1352, allocations: 83.36 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1353, allocations: 11.91 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000372/0.1356, allocations: 141.3 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1357, allocations: 4 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1357, allocations: 0 / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1357, allocations: 4 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1359, allocations: 19.98 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1359, allocations: 8.562 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.136, allocations: 4 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.1361, allocations: 12.06 kB / 487.6 MB, free: 13.37 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001493/0.1362, allocations: 137.8 kB / 487.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.1363, allocations: 19.72 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.998e-05/0.1363, allocations: 20.98 kB / 487.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1364, allocations: 0 / 487.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1364, allocations: 4 kB / 487.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1364, allocations: 0 / 487.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.1366, allocations: 233.4 kB / 488 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1367, allocations: 0 / 488 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.1367, allocations: 15.98 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1367, allocations: 3.938 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1367, allocations: 0 / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1367, allocations: 4 kB / 488.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1368, allocations: 0 / 488.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.1372, allocations: 173.6 kB / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.1373, allocations: 92.91 kB / 488.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.1373, allocations: 8 kB / 488.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1374, allocations: 11.98 kB / 488.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.1375, allocations: 4 kB / 488.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.1375, allocations: 4 kB / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002498/0.1378, allocations: 184.5 kB / 488.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1378, allocations: 0 / 488.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004455/0.1382, allocations: 48 kB / 488.6 MB, free: 12.33 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002239/0.1405, allocations: 1.113 MB / 489.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.1409, allocations: 83.84 kB / 489.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1409, allocations: 0 / 489.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.141, allocations: 36.36 kB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.1415, allocations: 60.81 kB / 489.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.1445, allocations: 1.872 MB / 491.7 MB, free: 9.195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.145, allocations: 0.7242 MB / 492.5 MB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.1451, allocations: 33.5 kB / 492.5 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.1453, allocations: 55.41 kB / 492.6 MB, free: 8.359 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1453, allocations: 4 kB / 492.6 MB, free: 8.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03391/0.1792, allocations: 5.195 MB / 497.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.389/7.568, allocations: 7.875 kB / 497.8 MB, free: 3.238 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches