Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",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.001106/0.001106, allocations: 103.1 kB / 16.27 MB, free: 5.973 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.00106/0.00106, allocations: 188.6 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2499/0.2499, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 73.58 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1305, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003294/0.1339, allocations: 1.693 MB / 442.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1351, allocations: 0.8 MB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.555e-05/0.1352, allocations: 0 / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.1356, allocations: 51.75 kB / 443.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.1359, allocations: 59.75 kB / 443.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.1362, allocations: 79.77 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.1364, allocations: 95.7 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1365, allocations: 24.16 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.22e-05/0.1366, allocations: 39.78 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.904e-05/0.1367, allocations: 27.86 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.1368, allocations: 7.938 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1369, allocations: 43.97 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.1369, allocations: 19.92 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.137, allocations: 31.75 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1372, allocations: 123.6 kB / 443.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1372, allocations: 4 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1372, allocations: 4 kB / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.1373, allocations: 0 / 443.7 MB, free: 3.684 MB / 318.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.0004926/0.1378, allocations: 422.8 kB / 444.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1378, allocations: 11.89 kB / 444.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.1378, allocations: 38.69 kB / 444.2 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.1379, allocations: 8.844 kB / 444.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.1381, allocations: 215.9 kB / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1381, allocations: 4.375 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.1381, allocations: 7.938 kB / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1383, allocations: 57.67 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1383, allocations: 0 / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1384, allocations: 0 / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1384, allocations: 4 kB / 444.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.459e-05/0.1385, allocations: 19.92 kB / 444.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.1388, allocations: 284.9 kB / 444.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.139, allocations: 62.67 kB / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.139, allocations: 20.84 kB / 444.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.139, allocations: 3.984 kB / 444.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.1393, allocations: 71.33 kB / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1393, allocations: 3.938 kB / 444.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005194/0.1398, allocations: 185.1 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.1398, allocations: 51.41 kB / 445.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.14, allocations: 230.6 kB / 445.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.14, allocations: 29.69 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.1401, allocations: 104.1 kB / 445.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1401, allocations: 23.64 kB / 445.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.1401, allocations: 25.72 kB / 445.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.1402, allocations: 322.8 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.1403, allocations: 27.98 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.1403, allocations: 33.7 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.128e-05/0.1404, allocations: 61.64 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1405, allocations: 0 / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000151/0.1406, allocations: 97.5 kB / 446.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1406, allocations: 8 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1406, allocations: 4.406 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1407, allocations: 0 / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.1408, allocations: 19.92 kB / 446.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1408, allocations: 4 kB / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.1408, allocations: 7.938 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1408, allocations: 4 kB / 446.1 MB, free: 1.012 MB / 318.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 8.028e-05/0.1409, allocations: 137 kB / 446.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.1409, allocations: 15.75 kB / 446.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.141, allocations: 25.39 kB / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.141, allocations: 0 / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.141, allocations: 0 / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.141, allocations: 7.938 kB / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.1413, allocations: 395.3 kB / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1414, allocations: 0 / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.1414, allocations: 11.98 kB / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1414, allocations: 7.875 kB / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1414, allocations: 4.031 kB / 446.7 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1414, allocations: 4 kB / 446.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1414, allocations: 0 / 446.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.1416, allocations: 200.3 kB / 446.9 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.1417, allocations: 92.91 kB / 447 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.1417, allocations: 4.125 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.1418, allocations: 4 kB / 447 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.1418, allocations: 15.92 kB / 447.1 MB, free: 0 / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.1419, allocations: 8.078 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.142, allocations: 163.2 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.142, allocations: 0 / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1423, allocations: 23.98 kB / 447.2 MB, free: 15.8 MB / 334.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.001565/0.1439, allocations: 1.108 MB / 448.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.1441, allocations: 63.91 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1441, allocations: 4.062 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.116e-05/0.1442, allocations: 27.94 kB / 448.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.1445, allocations: 31.2 kB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1465, allocations: 1.716 MB / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.1469, allocations: 0.7117 MB / 450.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.328e-05/0.1469, allocations: 25.19 kB / 450.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.147, allocations: 35.42 kB / 451 MB, free: 12.04 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.147, allocations: 4 kB / 451 MB, free: 12.04 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.1679, allocations: 3.46 MB / 454.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/7.845, allocations: 11.94 kB / 454.4 MB, free: 8.543 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches