Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 104.7 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2397/0.2397, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 64.45 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1335, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003489/0.137, allocations: 1.719 MB / 471.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.1385, allocations: 0.8847 MB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.982e-05/0.1386, allocations: 0 / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.139, allocations: 95.69 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1392, allocations: 67.72 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1396, allocations: 118.6 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1398, allocations: 115.7 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1399, allocations: 15.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.119e-05/0.14, allocations: 51.78 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1401, allocations: 63.75 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1401, allocations: 4 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.1403, allocations: 63.97 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.1404, allocations: 23.86 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/0.1404, allocations: 43.67 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1406, allocations: 135.8 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1407, allocations: 4 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1407, allocations: 0 / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1407, allocations: 0 / 472.8 MB, free: 10.84 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.0005644/0.1413, allocations: 426.9 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1413, allocations: 12.03 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.5e-05/0.1413, allocations: 30.75 kB / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.1414, allocations: 16.75 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1416, allocations: 219.9 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1416, allocations: 4.359 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1417, allocations: 15.84 kB / 473.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1418, allocations: 61.64 kB / 473.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1418, allocations: 4 kB / 473.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1419, allocations: 4 kB / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1419, allocations: 0 / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.202e-05/0.142, allocations: 19.98 kB / 473.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.1423, allocations: 300.8 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.1426, allocations: 62.55 kB / 473.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.638e-05/0.1427, allocations: 24.97 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1427, allocations: 4 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.1429, allocations: 67.33 kB / 474 MB, free: 9.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.1429, allocations: 0 / 474 MB, free: 9.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007627/0.1437, allocations: 249.1 kB / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.1438, allocations: 55.34 kB / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.144, allocations: 230.5 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.144, allocations: 25.7 kB / 474.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.1441, allocations: 112.1 kB / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.1441, allocations: 31.55 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.1442, allocations: 29.7 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1443, allocations: 326.8 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-05/0.1444, allocations: 27.98 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/0.1445, allocations: 49.64 kB / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.1447, allocations: 81.64 kB / 475.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1447, allocations: 0 / 475.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002199/0.1449, allocations: 125.5 kB / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1449, allocations: 11.92 kB / 475.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1449, allocations: 0 / 475.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1449, allocations: 4 kB / 475.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.145, allocations: 19.94 kB / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.145, allocations: 4.031 kB / 475.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.1451, allocations: 11.98 kB / 475.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1451, allocations: 7.938 kB / 475.4 MB, free: 7.973 MB / 350.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 (13): * Single equations (assignments): 13 * 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.0001099/0.1452, allocations: 135.7 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.1453, allocations: 11.81 kB / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.1453, allocations: 17.41 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.1453, allocations: 11.88 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1453, allocations: 0 / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1454, allocations: 7.984 kB / 475.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.1459, allocations: 444.1 kB / 476 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1459, allocations: 0 / 476 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.146, allocations: 19.92 kB / 476 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.146, allocations: 4 kB / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.146, allocations: 0 / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.146, allocations: 4 kB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.146, allocations: 4.062 kB / 476 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.1463, allocations: 236.9 kB / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.1463, allocations: 88.92 kB / 476.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.1464, allocations: 4 kB / 476.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.1465, allocations: 7.938 kB / 476.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.1465, allocations: 15.98 kB / 476.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.1465, allocations: 4 kB / 476.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.1467, allocations: 171.2 kB / 476.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1467, allocations: 0 / 476.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.147, allocations: 28 kB / 476.6 MB, free: 6.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001755/0.1487, allocations: 1.174 MB / 477.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.149, allocations: 83.91 kB / 477.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.149, allocations: 0 / 477.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.193e-05/0.1491, allocations: 39.92 kB / 477.9 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.1495, allocations: 52.08 kB / 477.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.1517, allocations: 1.804 MB / 479.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.1521, allocations: 0.7155 MB / 480.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.51e-05/0.1522, allocations: 24.62 kB / 480.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.1523, allocations: 43.41 kB / 480.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1523, allocations: 0 / 480.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.1727, allocations: 3.771 MB / 484.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/7.87, allocations: 11.53 kB / 484.3 MB, free: 15.11 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches