Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",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.001155/0.001155, 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.002029/0.00203, 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.452/1.452, allocations: 222.9 MB / 242.3 MB, free: 15.14 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.246/0.246, allocations: 44.18 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 72.73 kB / 408.5 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1245, allocations: 60.82 MB / 469.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003702/0.1282, allocations: 1.882 MB / 471.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1301, allocations: 0.9938 MB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1302, allocations: 0 / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000515/0.1308, allocations: 255.3 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.1312, allocations: 187.4 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.1318, allocations: 185.7 kB / 472.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.1321, allocations: 251.3 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1323, allocations: 25.67 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.1325, allocations: 135.4 kB / 473.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.1327, allocations: 179.5 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.1328, allocations: 8 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1329, allocations: 71.95 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.972e-05/0.133, allocations: 63.7 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1332, allocations: 87.3 kB / 473.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.1335, allocations: 231.5 kB / 473.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1335, allocations: 3.938 kB / 473.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1335, allocations: 4 kB / 473.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.1335, allocations: 0 / 473.9 MB, free: 9.695 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.0008211/0.1344, allocations: 0.5719 MB / 474.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1344, allocations: 12.03 kB / 474.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.1345, allocations: 34.75 kB / 474.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.209e-05/0.1346, allocations: 36.55 kB / 474.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.135, allocations: 276 kB / 474.8 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.135, allocations: 4.375 kB / 474.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.1351, allocations: 15.94 kB / 474.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.1353, allocations: 111.3 kB / 474.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.1354, allocations: 4 kB / 474.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.1354, allocations: 7.922 kB / 475 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1354, allocations: 0 / 475 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.1356, allocations: 47.97 kB / 475 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.1363, allocations: 488.6 kB / 475.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.1367, allocations: 117.2 kB / 475.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1368, allocations: 49.83 kB / 475.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.1368, allocations: 3.984 kB / 475.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/0.1372, allocations: 117.2 kB / 475.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 3.958e-06/0.1372, allocations: 3.984 kB / 475.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001427/0.1386, allocations: 0.5044 MB / 476.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.1387, allocations: 85.03 kB / 476.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.1391, allocations: 481.7 kB / 476.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1392, allocations: 33.7 kB / 476.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.1393, allocations: 164.5 kB / 477 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.72e-05/0.1393, allocations: 63.09 kB / 477.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.1394, allocations: 45.7 kB / 477.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1396, allocations: 346.8 kB / 477.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1397, allocations: 55.97 kB / 477.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.1398, allocations: 95.33 kB / 477.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.1401, allocations: 163.3 kB / 477.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1401, allocations: 0 / 477.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000395/0.1405, allocations: 233.2 kB / 478 MB, free: 5.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1405, allocations: 11.98 kB / 478 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1406, allocations: 3.938 kB / 478 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1406, allocations: 0 / 478 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1407, allocations: 47.92 kB / 478.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1407, allocations: 4 kB / 478.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.1408, allocations: 11.97 kB / 478.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.1409, allocations: 11.98 kB / 478.1 MB, free: 5.207 MB / 350.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.0001608/0.141, allocations: 173.7 kB / 478.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.1411, allocations: 35.56 kB / 478.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.516e-05/0.1412, allocations: 43.05 kB / 478.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1412, allocations: 7.938 kB / 478.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1412, allocations: 0 / 478.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.1412, allocations: 7.984 kB / 478.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009601/0.1422, allocations: 0.7272 MB / 479.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1422, allocations: 4 kB / 479.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.24e-05/0.1423, allocations: 31.92 kB / 479.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1423, allocations: 0 / 479.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.1423, allocations: 16.11 kB / 479.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.1423, allocations: 4 kB / 479.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1423, allocations: 3.938 kB / 479.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.1429, allocations: 417.7 kB / 479.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.122e-05/0.1429, allocations: 104.7 kB / 479.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.143, allocations: 8 kB / 479.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.1431, allocations: 8 kB / 479.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.1432, allocations: 23.84 kB / 479.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.1433, allocations: 20 kB / 479.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003299/0.1436, allocations: 359.1 kB / 480.1 MB, free: 3.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1436, allocations: 4.188 kB / 480.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.144, allocations: 48 kB / 480.1 MB, free: 3.059 MB / 350.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.001735/0.1457, allocations: 1.366 MB / 481.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000356/0.1461, allocations: 171.7 kB / 481.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1461, allocations: 0 / 481.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.1462, allocations: 84.16 kB / 481.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.1468, allocations: 65.33 kB / 481.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.1499, allocations: 2.95 MB / 484.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1502, allocations: 0.7753 MB / 485.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.1504, allocations: 53.89 kB / 485.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.1505, allocations: 103.4 kB / 485.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1505, allocations: 0 / 485.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.1751, allocations: 6.38 MB / 492 MB, free: 7.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/7.626, allocations: 8.172 kB / 492.1 MB, free: 7.242 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv","/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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches