Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.001289/0.001289, allocations: 104 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.001316/0.001316, allocations: 192.1 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.477/1.477, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2467/0.2467, allocations: 44.19 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.47 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1268, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.004242/0.1311, allocations: 1.7 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.1336, allocations: 1.491 MB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1338, allocations: 3.938 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.1341, allocations: 35.83 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.1345, allocations: 55.7 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.1349, allocations: 114.9 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.1351, allocations: 99.69 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1352, allocations: 8.234 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.795e-05/0.1353, allocations: 43.8 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.1355, allocations: 39.83 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.1355, allocations: 4 kB / 473 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1357, allocations: 59.97 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.1357, allocations: 19.86 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.1358, allocations: 31.8 kB / 473.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.136, allocations: 119.9 kB / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1361, allocations: 0 / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1361, allocations: 0 / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1361, allocations: 0 / 473.2 MB, free: 10.41 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.0005939/0.1367, allocations: 414.1 kB / 473.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1367, allocations: 8.031 kB / 473.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.1368, allocations: 34.75 kB / 473.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.1368, allocations: 8.844 kB / 473.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.1371, allocations: 208 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1371, allocations: 4.375 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.1371, allocations: 3.938 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1373, allocations: 75.38 kB / 473.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1373, allocations: 0 / 473.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1373, allocations: 0 / 473.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1373, allocations: 0 / 473.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.391e-05/0.1374, allocations: 23.98 kB / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.1378, allocations: 280.8 kB / 474.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.138, allocations: 58.62 kB / 474.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.1381, allocations: 24.84 kB / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.1381, allocations: 0 / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.1383, allocations: 67.33 kB / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1383, allocations: 4 kB / 474.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005886/0.1389, allocations: 177.4 kB / 474.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.139, allocations: 89.05 kB / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1392, allocations: 149.8 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1392, allocations: 29.7 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.1393, allocations: 92.14 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.1393, allocations: 27.64 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.1394, allocations: 21.72 kB / 474.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1395, allocations: 326.8 kB / 475.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.1396, allocations: 23.98 kB / 475.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.1397, allocations: 42.56 kB / 475.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1398, allocations: 61.72 kB / 475.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1398, allocations: 0 / 475.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/0.14, allocations: 97.58 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.14, allocations: 4 kB / 475.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.14, allocations: 8.062 kB / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1401, allocations: 0 / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1402, allocations: 19.92 kB / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.1402, allocations: 0 / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.1402, allocations: 7.938 kB / 475.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1403, allocations: 4 kB / 475.5 MB, free: 7.805 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.0001144/0.1404, allocations: 117.8 kB / 475.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.1404, allocations: 11.91 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.1405, allocations: 20.69 kB / 475.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1405, allocations: 4 kB / 475.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1405, allocations: 0 / 475.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1405, allocations: 3.938 kB / 475.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.141, allocations: 383.3 kB / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.141, allocations: 0 / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.1411, allocations: 15.98 kB / 476.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1411, allocations: 3.938 kB / 476.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1411, allocations: 4.031 kB / 476.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1411, allocations: 7.938 kB / 476.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1411, allocations: 3.938 kB / 476.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.1414, allocations: 200.2 kB / 476.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.1414, allocations: 89.02 kB / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.1415, allocations: 7.922 kB / 476.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.376e-05/0.1416, allocations: 4 kB / 476.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.1416, allocations: 4 kB / 476.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.1416, allocations: 11.98 kB / 476.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1418, allocations: 117.5 kB / 476.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1418, allocations: 0 / 476.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003139/0.1421, allocations: 31.98 kB / 476.5 MB, free: 6.676 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.001623/0.1437, allocations: 1.134 MB / 477.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.1439, allocations: 59.92 kB / 477.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1439, allocations: 0 / 477.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.922e-05/0.144, allocations: 31.92 kB / 477.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1444, allocations: 34.56 kB / 477.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.1463, allocations: 1.542 MB / 479.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1466, allocations: 0.7011 MB / 480 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.359e-05/0.1467, allocations: 25.31 kB / 480.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.1468, allocations: 31.42 kB / 480.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1468, allocations: 0 / 480.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.1707, allocations: 3.473 MB / 483.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.616, allocations: 10.64 kB / 483.6 MB, free: 15.78 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches