Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",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.001454/0.001454, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001612/0.001612, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.364/1.364, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.199/0.199, allocations: 44.17 MB / 336.6 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 66.83 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1179, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003793/0.1217, allocations: 1.703 MB / 471.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1235, allocations: 0.8769 MB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.1237, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.1241, allocations: 35.83 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.1245, allocations: 55.7 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.125, allocations: 114.9 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.1252, allocations: 95.64 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1254, allocations: 12.22 kB / 472.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1255, allocations: 39.8 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.329e-05/0.1256, allocations: 35.84 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.1256, allocations: 4 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1258, allocations: 39.98 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.1259, allocations: 19.92 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.1259, allocations: 31.8 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.1262, allocations: 103.9 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1262, allocations: 7.938 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1262, allocations: 0 / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1262, allocations: 0 / 472.5 MB, free: 11.11 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.0005671/0.1268, allocations: 415 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.1268, allocations: 8.031 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.1269, allocations: 30.75 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.1269, allocations: 12.83 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.1272, allocations: 208.1 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1272, allocations: 4.359 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.1272, allocations: 7.938 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1274, allocations: 57.61 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1274, allocations: 0 / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1274, allocations: 3.984 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1274, allocations: 4 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.172e-05/0.1275, allocations: 16 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.1279, allocations: 280.9 kB / 473.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1281, allocations: 62.61 kB / 473.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.1281, allocations: 24.84 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1282, allocations: 0 / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.1284, allocations: 71.3 kB / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1284, allocations: 0 / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005963/0.129, allocations: 165.5 kB / 473.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1291, allocations: 51.41 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1293, allocations: 177.8 kB / 474.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1293, allocations: 33.7 kB / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.1294, allocations: 96.12 kB / 474.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.1294, allocations: 27.64 kB / 474.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.1295, allocations: 29.7 kB / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1296, allocations: 318.8 kB / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/0.1297, allocations: 20.19 kB / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.458e-05/0.1298, allocations: 49.58 kB / 474.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1299, allocations: 57.78 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1299, allocations: 3.938 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001944/0.1301, allocations: 105.4 kB / 474.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1301, allocations: 11.98 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1301, allocations: 0 / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1302, allocations: 0 / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.1302, allocations: 12 kB / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1303, allocations: 4 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.1303, allocations: 7.969 kB / 474.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1303, allocations: 7.984 kB / 474.9 MB, free: 8.531 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 (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.0001008/0.1304, allocations: 125.8 kB / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.1305, allocations: 7.906 kB / 475 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.1305, allocations: 16.7 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1305, allocations: 4 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1305, allocations: 0 / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1306, allocations: 3.938 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.131, allocations: 391.3 kB / 475.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.131, allocations: 0 / 475.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.1311, allocations: 8 kB / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.1311, allocations: 3.938 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1311, allocations: 4 kB / 475.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1311, allocations: 3.984 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1311, allocations: 0 / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.1314, allocations: 208.2 kB / 475.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.1314, allocations: 85.02 kB / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.1315, allocations: 3.938 kB / 475.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.1315, allocations: 4 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.1316, allocations: 15.97 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1316, allocations: 4 kB / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.918e-05/0.1317, allocations: 128.7 kB / 475.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1317, allocations: 4 kB / 475.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.132, allocations: 27.98 kB / 475.9 MB, free: 7.395 MB / 350.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.001481/0.1335, allocations: 1.108 MB / 477 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.1337, allocations: 55.95 kB / 477.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1337, allocations: 0 / 477.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.1338, allocations: 35.92 kB / 477.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1341, allocations: 28.11 kB / 477.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1359, allocations: 1.605 MB / 478.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1361, allocations: 0.7002 MB / 479.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.328e-05/0.1362, allocations: 12.88 kB / 479.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.1363, allocations: 31.42 kB / 479.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1363, allocations: 0 / 479.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.1554, allocations: 3.24 MB / 482.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/7.949, allocations: 11.22 kB / 482.7 MB, free: 0.6953 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches