Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.001526/0.001526, 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.001689/0.001689, 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.338/1.338, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.1946/0.1946, allocations: 44.17 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.94 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1361, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003858/0.1401, allocations: 1.699 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1416, allocations: 0.8847 MB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.1417, allocations: 0 / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.1421, allocations: 39.78 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1424, allocations: 63.75 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1427, allocations: 119.2 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1429, allocations: 95.7 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.143, allocations: 12.17 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.315e-05/0.1431, allocations: 39.78 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.347e-05/0.1432, allocations: 35.84 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.1432, allocations: 4 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1433, allocations: 40 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.1434, allocations: 27.89 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.1434, allocations: 39.69 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1437, allocations: 115.8 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1437, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1437, allocations: 0 / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1437, allocations: 4 kB / 472.6 MB, free: 11.03 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.0006492/0.1443, allocations: 422.9 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1444, allocations: 8.031 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.1444, allocations: 34.75 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.1445, allocations: 20.73 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1448, allocations: 208 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1448, allocations: 12.31 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1448, allocations: 11.92 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.145, allocations: 57.66 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.145, allocations: 0 / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.145, allocations: 0 / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.145, allocations: 0 / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.619e-05/0.1451, allocations: 19.98 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.1455, allocations: 296.7 kB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.1457, allocations: 62.61 kB / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.38e-05/0.1458, allocations: 16.86 kB / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1458, allocations: 0 / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.146, allocations: 67.39 kB / 473.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1461, allocations: 4 kB / 473.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006412/0.1467, allocations: 169.2 kB / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.1468, allocations: 55.41 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.147, allocations: 230.5 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.147, allocations: 29.7 kB / 474.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.1471, allocations: 108.1 kB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.1472, allocations: 31.62 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.1472, allocations: 25.72 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1473, allocations: 322.8 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.492e-05/0.1474, allocations: 27.92 kB / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.1475, allocations: 37.64 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1476, allocations: 53.8 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1476, allocations: 0 / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001911/0.1478, allocations: 109.5 kB / 475 MB, free: 8.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1479, allocations: 4 kB / 475 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1479, allocations: 4 kB / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1479, allocations: 0 / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.148, allocations: 15.98 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.148, allocations: 0 / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.1481, allocations: 7.938 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1481, allocations: 11.97 kB / 475 MB, free: 8.348 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.0001454/0.1482, allocations: 134.8 kB / 475.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.1483, allocations: 12.19 kB / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.1483, allocations: 17.41 kB / 475.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1483, allocations: 0 / 475.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1483, allocations: 3.984 kB / 475.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.1483, allocations: 7.938 kB / 475.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/0.1488, allocations: 399.3 kB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1488, allocations: 0 / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.1489, allocations: 12 kB / 475.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1489, allocations: 3.938 kB / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1489, allocations: 3.984 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1489, allocations: 4 kB / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1489, allocations: 0 / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.1491, allocations: 208.2 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.1492, allocations: 85.02 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.1492, allocations: 3.938 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.1493, allocations: 7.984 kB / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1494, allocations: 3.984 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.1494, allocations: 8 kB / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.1496, allocations: 175.2 kB / 476.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1496, allocations: 0 / 476.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.1499, allocations: 16 kB / 476.1 MB, free: 7.16 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.001649/0.1515, allocations: 1.104 MB / 477.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1517, allocations: 63.91 kB / 477.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1517, allocations: 0 / 477.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.1518, allocations: 27.98 kB / 477.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1522, allocations: 31.91 kB / 477.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.1541, allocations: 1.72 MB / 479 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1544, allocations: 0.708 MB / 479.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.22e-05/0.1545, allocations: 12.88 kB / 479.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.23e-05/0.1545, allocations: 39.42 kB / 479.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1545, allocations: 0 / 479.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.1769, allocations: 3.453 MB / 483.2 MB, free: 128 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/7.907, allocations: 11.22 kB / 483.3 MB, free: 120 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_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_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches