Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",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.001322/0.001321, allocations: 102.5 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.001226/0.001226, allocations: 188.1 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.703/1.703, 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.2332/0.2332, allocations: 43.52 MB / 313.9 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.0015/0.0015, allocations: 74.47 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1144, allocations: 57.79 MB / 440.6 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002894/0.1174, allocations: 1.693 MB / 442.3 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1189, allocations: 1.402 MB / 443.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.475e-05/0.119, allocations: 0 / 443.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.1194, allocations: 43.78 kB / 443.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.1196, allocations: 63.69 kB / 443.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.1198, allocations: 75.77 kB / 443.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.12, allocations: 99.69 kB / 444 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1201, allocations: 12.17 kB / 444 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.404e-05/0.1202, allocations: 43.78 kB / 444.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.1204, allocations: 43.36 kB / 444.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1204, allocations: 8 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1205, allocations: 59.97 kB / 444.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.1206, allocations: 19.86 kB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.1206, allocations: 35.78 kB / 444.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1208, allocations: 111.8 kB / 444.3 MB, free: 3.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1209, allocations: 4 kB / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1209, allocations: 3.938 kB / 444.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1209, allocations: 0 / 444.3 MB, free: 3.039 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.000553/0.1214, allocations: 403 kB / 444.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.1215, allocations: 11.89 kB / 444.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.1215, allocations: 42.75 kB / 444.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.1216, allocations: 8.844 kB / 444.8 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1218, allocations: 201.3 kB / 445 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1218, allocations: 384 / 445 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.1219, allocations: 11.94 kB / 445 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.1221, allocations: 67.39 kB / 445.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1221, allocations: 0 / 445.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.1221, allocations: 3.984 kB / 445.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1221, allocations: 4 kB / 445.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.92e-05/0.1222, allocations: 27.92 kB / 445.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.1226, allocations: 284.8 kB / 445.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1228, allocations: 54.62 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.1228, allocations: 28.84 kB / 445.5 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.1229, allocations: 7.922 kB / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.1231, allocations: 67.33 kB / 445.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1231, allocations: 0 / 445.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005427/0.1237, allocations: 169.3 kB / 445.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1237, allocations: 81.11 kB / 445.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.1238, allocations: 152.8 kB / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1239, allocations: 37.7 kB / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.1239, allocations: 96.12 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1239, allocations: 23.64 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.124, allocations: 21.72 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.03e-05/0.1241, allocations: 322.8 kB / 446.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.1241, allocations: 23.98 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.1242, allocations: 42.56 kB / 446.5 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.616e-05/0.1243, allocations: 61.66 kB / 446.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1243, allocations: 0 / 446.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001526/0.1245, allocations: 101.5 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1245, allocations: 4 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1245, allocations: 7.984 kB / 446.7 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1245, allocations: 0 / 446.7 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.1246, allocations: 15.94 kB / 446.7 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.1246, allocations: 8.047 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.1247, allocations: 11.94 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1247, allocations: 4 kB / 446.7 MB, free: 432 kB / 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.204e-05/0.1248, allocations: 117.8 kB / 446.8 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.1248, allocations: 7.906 kB / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.1249, allocations: 16.7 kB / 446.8 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1249, allocations: 4 kB / 446.8 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1249, allocations: 0 / 446.8 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1249, allocations: 3.938 kB / 446.8 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.1253, allocations: 391.3 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1253, allocations: 384 / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.1254, allocations: 11.98 kB / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1254, allocations: 7.875 kB / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1254, allocations: 4 kB / 447.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1254, allocations: 4.188 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1254, allocations: 0 / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.1256, allocations: 208.4 kB / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.1257, allocations: 81.02 kB / 447.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.1257, allocations: 15.92 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.1258, allocations: 0 / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1258, allocations: 4 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.1259, allocations: 7.984 kB / 447.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.383e-05/0.126, allocations: 115.3 kB / 447.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.126, allocations: 0 / 447.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1262, allocations: 35.98 kB / 447.7 MB, free: 15.29 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.001556/0.1278, allocations: 1.135 MB / 448.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.128, allocations: 63.86 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.128, allocations: 4.062 kB / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.1281, allocations: 27.92 kB / 448.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.1285, allocations: 37.98 kB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1304, allocations: 1.547 MB / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.1308, allocations: 0.6964 MB / 451.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.226e-05/0.1308, allocations: 16.88 kB / 451.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.1309, allocations: 31.42 kB / 451.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1309, allocations: 0 / 451.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.1517, allocations: 3.469 MB / 454.7 MB, free: 8.184 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/7.806, allocations: 11.94 kB / 454.7 MB, free: 8.172 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches