Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1943/0.1943, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 73.53 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1199, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003287/0.1232, allocations: 1.684 MB / 481.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1252, allocations: 1.005 MB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1253, allocations: 4 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.1258, allocations: 79.7 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004076/0.1262, allocations: 115.6 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.1265, allocations: 71.67 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.1268, allocations: 111.7 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.346e-05/0.1269, allocations: 8.234 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.127, allocations: 55.7 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.1271, allocations: 51.83 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.1272, allocations: 4 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.1273, allocations: 39.92 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.1274, allocations: 19.92 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.1275, allocations: 39.67 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.1278, allocations: 107.9 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1278, allocations: 0 / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.1278, allocations: 4 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1278, allocations: 0 / 483.5 MB, free: 1.777 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006281/0.1284, allocations: 414.9 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1285, allocations: 8.031 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.851e-05/0.1286, allocations: 34.73 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.1286, allocations: 16.75 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1289, allocations: 208 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1289, allocations: 8.359 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.1289, allocations: 7.875 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1291, allocations: 49.69 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1291, allocations: 0 / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1291, allocations: 3.984 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1291, allocations: 0 / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.651e-05/0.1292, allocations: 12 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.1294, allocations: 189.6 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1296, allocations: 62.5 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.1297, allocations: 20.84 kB / 484.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1297, allocations: 0 / 484.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.1299, allocations: 67.38 kB / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.1299, allocations: 0 / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003002/0.1303, allocations: 93.52 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.1303, allocations: 59.41 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.1305, allocations: 220.3 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.1306, allocations: 29.7 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.1307, allocations: 108.2 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.1307, allocations: 11.75 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.1308, allocations: 17.72 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002604/0.131, allocations: 330.8 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.1311, allocations: 12 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.1312, allocations: 33.7 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1313, allocations: 45.64 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.1313, allocations: 3.938 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001801/0.1315, allocations: 77.84 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1315, allocations: 4 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.1315, allocations: 8 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1316, allocations: 8.031 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1317, allocations: 11.94 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1317, allocations: 3.984 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.1318, allocations: 7.906 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1318, allocations: 4 kB / 485.7 MB, free: 15.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 (7): * Single equations (assignments): 7 * 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.0001342/0.1319, allocations: 129.8 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.1319, allocations: 7.906 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.132, allocations: 17.16 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.132, allocations: 0 / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.132, allocations: 7.938 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.132, allocations: 0 / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.1322, allocations: 197.5 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1322, allocations: 0 / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.1323, allocations: 0 / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1323, allocations: 4 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1323, allocations: 3.984 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1323, allocations: 0 / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1323, allocations: 3.984 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.1326, allocations: 116.8 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.1327, allocations: 89 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1327, allocations: 0 / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.1328, allocations: 8 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.1328, allocations: 0 / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1328, allocations: 7.984 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.1331, allocations: 165.2 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1331, allocations: 0 / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.1333, allocations: 12 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001299/0.1346, allocations: 0.9517 MB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.1348, allocations: 47.97 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1348, allocations: 0 / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.428e-05/0.1349, allocations: 24 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.1352, allocations: 31.91 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.137, allocations: 1.567 MB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.1373, allocations: 0.7041 MB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.498e-05/0.1373, allocations: 20.53 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.1374, allocations: 35.42 kB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1374, allocations: 0 / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06435/0.2018, allocations: 3.176 MB / 493 MB, free: 8.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/7.924, allocations: 3.938 kB / 493 MB, free: 8.051 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches