Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",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.001491/0.001491, allocations: 102.9 kB / 16.27 MB, free: 6.41 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.001648/0.001648, allocations: 190.5 kB / 17.2 MB, free: 5.953 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.469/1.469, 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.2509/0.2509, 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.001713/0.001713, allocations: 70.33 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1112, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003608/0.1149, allocations: 1.693 MB / 442.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.116, allocations: 0.8 MB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.1161, allocations: 3.938 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.1164, allocations: 43.81 kB / 443.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.1167, allocations: 51.7 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.1169, allocations: 91.75 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1171, allocations: 91.7 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1172, allocations: 16.17 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1173, allocations: 39.8 kB / 443.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.41e-05/0.1174, allocations: 27.84 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.1175, allocations: 4 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1176, allocations: 39.98 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.1177, allocations: 27.84 kB / 443.6 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.1177, allocations: 39.72 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.118, allocations: 111.7 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.118, allocations: 4 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.118, allocations: 4 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.118, allocations: 0 / 443.7 MB, free: 3.707 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.0007399/0.1188, allocations: 410.9 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.648e-05/0.1189, allocations: 11.89 kB / 444.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.1189, allocations: 38.75 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.119, allocations: 16.69 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1192, allocations: 210.1 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1193, allocations: 384 / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1193, allocations: 7.938 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1195, allocations: 61.67 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1195, allocations: 0 / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1195, allocations: 0 / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1195, allocations: 0 / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.32e-05/0.1196, allocations: 19.98 kB / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.12, allocations: 284.9 kB / 444.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1202, allocations: 66.61 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.111e-05/0.1203, allocations: 16.86 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1203, allocations: 0 / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002737/0.1206, allocations: 71.38 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.634e-06/0.1206, allocations: 0 / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006552/0.1213, allocations: 177.2 kB / 445.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.1213, allocations: 51.41 kB / 445.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1215, allocations: 207.3 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.1215, allocations: 25.7 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.1216, allocations: 112 kB / 445.5 MB, free: 1.746 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.1216, allocations: 27.64 kB / 445.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.1217, allocations: 25.66 kB / 445.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.082e-05/0.1217, allocations: 322.8 kB / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.284e-05/0.1218, allocations: 27.98 kB / 445.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.639e-05/0.1219, allocations: 33.7 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.791e-05/0.122, allocations: 57.69 kB / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.122, allocations: 4 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000154/0.1221, allocations: 97.53 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.1222, allocations: 4 kB / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1222, allocations: 4.031 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1222, allocations: 4 kB / 446.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1223, allocations: 15.98 kB / 446.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1223, allocations: 3.938 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.1224, allocations: 7.938 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1224, allocations: 11.94 kB / 446.1 MB, free: 1.078 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 0.000104/0.1225, allocations: 125.8 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.1225, allocations: 11.81 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.1226, allocations: 17.41 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1226, allocations: 4 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1226, allocations: 0 / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.1226, allocations: 7.922 kB / 446.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.123, allocations: 395.5 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.123, allocations: 0 / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.1231, allocations: 8 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1231, allocations: 3.938 kB / 446.7 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1231, allocations: 8 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1231, allocations: 4.031 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1231, allocations: 3.984 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.1233, allocations: 196.2 kB / 446.9 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.1233, allocations: 92.91 kB / 447 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.1234, allocations: 7.938 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.321e-05/0.1234, allocations: 4.375 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.1235, allocations: 11.98 kB / 447 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1235, allocations: 8 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.1237, allocations: 147.9 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1237, allocations: 192 / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000277/0.124, allocations: 28 kB / 447.2 MB, free: 15.91 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.001484/0.1254, allocations: 1.102 MB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.1256, allocations: 55.92 kB / 448.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1257, allocations: 4.062 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.1257, allocations: 31.98 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.1261, allocations: 26 kB / 448.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.1284, allocations: 1.667 MB / 450 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.1289, allocations: 0.7041 MB / 450.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000186/0.1291, allocations: 16.88 kB / 450.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.46e-05/0.1292, allocations: 35.42 kB / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1292, allocations: 0 / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.1502, allocations: 3.355 MB / 454.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/7.957, allocations: 8 kB / 454.2 MB, free: 8.82 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_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_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches