Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",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.001794/0.001794, allocations: 100.3 kB / 16.27 MB, free: 5.93 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.002221/0.002221, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.514/1.514, 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.248/0.248, allocations: 43.53 MB / 314 MB, free: 0.5195 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.001529/0.001529, allocations: 71.25 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1329, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002873/0.1358, allocations: 1.686 MB / 442.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.137, allocations: 0.8 MB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.431e-05/0.1372, allocations: 4 kB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1375, allocations: 43.75 kB / 443.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.1378, allocations: 55.77 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.138, allocations: 87.75 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.1382, allocations: 91.7 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1383, allocations: 12.17 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.1384, allocations: 43.78 kB / 443.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.404e-05/0.1385, allocations: 39.78 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.1385, allocations: 4 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.399e-05/0.1386, allocations: 35.98 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/0.1387, allocations: 23.91 kB / 443.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.1388, allocations: 35.73 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.139, allocations: 111.7 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.139, allocations: 0 / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.139, allocations: 0 / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.139, allocations: 0 / 443.7 MB, free: 3.703 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.000561/0.1396, allocations: 418.9 kB / 444.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.1396, allocations: 15.89 kB / 444.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.1397, allocations: 30.75 kB / 444.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.1397, allocations: 8.844 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.1399, allocations: 209.2 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1399, allocations: 384 / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.14, allocations: 7.938 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1401, allocations: 53.67 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1401, allocations: 0 / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1402, allocations: 4 kB / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1402, allocations: 0 / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.1402, allocations: 23.92 kB / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.1406, allocations: 288.8 kB / 444.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.1407, allocations: 58.67 kB / 444.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.615e-05/0.1408, allocations: 20.86 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1408, allocations: 7.938 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.141, allocations: 67.33 kB / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.141, allocations: 0 / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004806/0.1415, allocations: 177.1 kB / 445.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.1416, allocations: 55.41 kB / 445.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.1417, allocations: 202 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1417, allocations: 29.7 kB / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.1418, allocations: 100.1 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.1418, allocations: 19.72 kB / 445.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.1418, allocations: 25.7 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.1419, allocations: 322.8 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.934e-05/0.1419, allocations: 20 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.188e-05/0.142, allocations: 37.7 kB / 445.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.116e-05/0.1421, allocations: 65.7 kB / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1421, allocations: 0 / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001451/0.1422, allocations: 101.5 kB / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1423, allocations: 7.984 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1423, allocations: 0 / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1423, allocations: 4 kB / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.1424, allocations: 12 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1424, allocations: 4.031 kB / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.201e-05/0.1424, allocations: 15.92 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1425, allocations: 0 / 446.1 MB, free: 1.094 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 6.888e-05/0.1425, allocations: 129.7 kB / 446.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.1426, allocations: 11.81 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.1426, allocations: 16.7 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1426, allocations: 0 / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1426, allocations: 4 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.1426, allocations: 7.938 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.1429, allocations: 387.3 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1429, allocations: 0 / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.143, allocations: 11.94 kB / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.143, allocations: 7.938 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.143, allocations: 7.984 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.143, allocations: 0 / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.143, allocations: 0 / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.1432, allocations: 200.3 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.1432, allocations: 92.91 kB / 446.9 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.1432, allocations: 11.94 kB / 446.9 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.1433, allocations: 3.984 kB / 446.9 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.1433, allocations: 4 kB / 446.9 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1434, allocations: 4.562 kB / 446.9 MB, free: 100 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1435, allocations: 151.2 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1435, allocations: 3.938 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1438, allocations: 20 kB / 447.1 MB, free: 15.93 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.001487/0.1452, allocations: 1.096 MB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1454, allocations: 63.91 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1455, allocations: 0 / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.002e-05/0.1455, allocations: 27.92 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1459, allocations: 42.06 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.1475, allocations: 1.623 MB / 450 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.1478, allocations: 0.704 MB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.009e-05/0.1479, allocations: 13.19 kB / 450.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.1479, allocations: 35.42 kB / 450.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1479, allocations: 0 / 450.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.1678, allocations: 3.297 MB / 454 MB, free: 8.953 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/7.774, allocations: 0 / 454 MB, free: 8.953 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_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_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches