Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.001064/0.001064, allocations: 102.8 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.001032/0.001032, allocations: 190.7 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.371/1.371, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2202/0.2202, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001556/0.001556, allocations: 72.61 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1081, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002959/0.1111, allocations: 1.833 MB / 442.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1124, allocations: 0.8935 MB / 443.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.593e-05/0.1125, allocations: 4 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.1129, allocations: 159.5 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.1132, allocations: 139.5 kB / 443.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.1136, allocations: 143.5 kB / 443.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.1138, allocations: 211.4 kB / 444 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1139, allocations: 33.45 kB / 444 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.114, allocations: 103.5 kB / 444.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1142, allocations: 119.6 kB / 444.3 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.1142, allocations: 8 kB / 444.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.613e-05/0.1143, allocations: 47.97 kB / 444.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.1144, allocations: 47.78 kB / 444.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.1144, allocations: 75.47 kB / 444.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1146, allocations: 191.3 kB / 444.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1147, allocations: 4 kB / 444.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1147, allocations: 0 / 444.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1147, allocations: 0 / 444.6 MB, free: 2.777 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005313/0.1152, allocations: 0.5137 MB / 445.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1153, allocations: 15.89 kB / 445.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.1153, allocations: 34.75 kB / 445.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.1153, allocations: 24.66 kB / 445.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1156, allocations: 263.6 kB / 445.5 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1156, allocations: 4.375 kB / 445.5 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1156, allocations: 11.94 kB / 445.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1158, allocations: 99.3 kB / 445.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1159, allocations: 0 / 445.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1159, allocations: 0 / 445.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1159, allocations: 4 kB / 445.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.116, allocations: 39.97 kB / 445.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.1164, allocations: 452.8 kB / 446.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.1166, allocations: 117.3 kB / 446.2 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.908e-05/0.1167, allocations: 45.7 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1167, allocations: 0 / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.117, allocations: 113 kB / 446.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.117, allocations: 0 / 446.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007819/0.1178, allocations: 364 kB / 446.7 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.1178, allocations: 85.03 kB / 446.8 MB, free: 400 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.1181, allocations: 351 kB / 447.1 MB, free: 40 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1181, allocations: 33.7 kB / 447.1 MB, free: 0 / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1182, allocations: 136.4 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.1183, allocations: 47.36 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.1183, allocations: 37.7 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1185, allocations: 342.8 kB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1186, allocations: 47.92 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.1187, allocations: 72.61 kB / 447.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.1189, allocations: 115.5 kB / 447.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1189, allocations: 4 kB / 447.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003187/0.1193, allocations: 177.3 kB / 448.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1193, allocations: 8 kB / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1193, allocations: 0 / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1193, allocations: 0 / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1195, allocations: 39.86 kB / 448.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1195, allocations: 0 / 448.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-05/0.1196, allocations: 11.94 kB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.1196, allocations: 12.06 kB / 448.2 MB, free: 14.92 MB / 334.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 (20): * Single equations (assignments): 20 * 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.0001423/0.1197, allocations: 157.7 kB / 448.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.1198, allocations: 27.62 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.1198, allocations: 37.67 kB / 448.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1198, allocations: 3.938 kB / 448.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1199, allocations: 0.75 kB / 448.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1199, allocations: 0 / 448.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000691/0.1206, allocations: 0.6125 MB / 449 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1206, allocations: 0 / 449 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.1206, allocations: 19.94 kB / 449 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.1207, allocations: 8 kB / 449 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1207, allocations: 3.984 kB / 449 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1207, allocations: 4 kB / 449 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1207, allocations: 0 / 449 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.1211, allocations: 375.3 kB / 449.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.1212, allocations: 92.83 kB / 449.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.1212, allocations: 4 kB / 449.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1214, allocations: 15.92 kB / 449.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.1214, allocations: 15.98 kB / 449.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.1215, allocations: 8 kB / 449.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002534/0.1217, allocations: 261.9 kB / 449.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1217, allocations: 0 / 449.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003488/0.1221, allocations: 44 kB / 449.8 MB, free: 13.14 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 12 * 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.00179/0.1239, allocations: 1.261 MB / 451.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.1242, allocations: 115.8 kB / 451.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1242, allocations: 0 / 451.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1243, allocations: 63.91 kB / 451.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.1249, allocations: 54.88 kB / 451.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.1277, allocations: 2.458 MB / 453.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.128, allocations: 0.7552 MB / 454.5 MB, free: 8.355 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.877e-05/0.1281, allocations: 30.56 kB / 454.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.1283, allocations: 71.41 kB / 454.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1283, allocations: 0 / 454.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.1525, allocations: 5.318 MB / 460 MB, free: 2.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.659, allocations: 11.97 kB / 460 MB, free: 2.898 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches