Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",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.001455/0.001455, allocations: 103 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.001288/0.001289, 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.731/1.731, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.24/0.24, allocations: 43.53 MB / 313.9 MB, free: 0.5156 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.001601/0.001601, allocations: 68.2 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1155, allocations: 57.8 MB / 440.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003092/0.1186, allocations: 1.686 MB / 442.3 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1204, allocations: 1.398 MB / 443.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.584e-05/0.1205, allocations: 0 / 443.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.1208, allocations: 47.77 kB / 443.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.1211, allocations: 59.69 kB / 443.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.1214, allocations: 79.77 kB / 443.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1215, allocations: 99.69 kB / 444 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1216, allocations: 16.16 kB / 444 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.1217, allocations: 39.8 kB / 444.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.1219, allocations: 47.34 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.1219, allocations: 8 kB / 444.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.1221, allocations: 59.97 kB / 444.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.1221, allocations: 19.86 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.1222, allocations: 27.81 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.1224, allocations: 115.7 kB / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1224, allocations: 0 / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1224, allocations: 0 / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1225, allocations: 3.938 kB / 444.3 MB, free: 3.055 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.0005293/0.123, allocations: 407 kB / 444.7 MB, free: 2.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.123, allocations: 15.89 kB / 444.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.073e-05/0.1231, allocations: 30.75 kB / 444.8 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.1231, allocations: 16.84 kB / 444.8 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.1234, allocations: 205.3 kB / 445 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1234, allocations: 384 / 445 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1234, allocations: 11.94 kB / 445 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1236, allocations: 63.39 kB / 445.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1236, allocations: 4 kB / 445.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1236, allocations: 0 / 445.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1236, allocations: 4 kB / 445.1 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.039e-05/0.1237, allocations: 23.98 kB / 445.1 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.1241, allocations: 284.8 kB / 445.4 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1243, allocations: 62.61 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.1243, allocations: 20.86 kB / 445.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1243, allocations: 7.984 kB / 445.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.1245, allocations: 71.27 kB / 445.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1245, allocations: 0 / 445.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005409/0.1251, allocations: 161.4 kB / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.1251, allocations: 85.03 kB / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.1252, allocations: 160.8 kB / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1253, allocations: 29.7 kB / 446 MB, free: 1.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.1253, allocations: 100.1 kB / 446.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.1253, allocations: 23.66 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.1254, allocations: 25.7 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.1254, allocations: 322.8 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.1255, allocations: 20 kB / 446.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.613e-05/0.1256, allocations: 42.56 kB / 446.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.885e-05/0.1257, allocations: 69.7 kB / 446.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1257, allocations: 0 / 446.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001575/0.1258, allocations: 93.5 kB / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1259, allocations: 4 kB / 446.6 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1259, allocations: 3.984 kB / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1259, allocations: 4 kB / 446.7 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.558e-05/0.126, allocations: 15.94 kB / 446.7 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.126, allocations: 4.062 kB / 446.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.373e-05/0.1261, allocations: 11.94 kB / 446.7 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.1261, allocations: 3.984 kB / 446.7 MB, free: 448 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 6.768e-05/0.1262, allocations: 121.8 kB / 446.8 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.1262, allocations: 7.906 kB / 446.8 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.1262, allocations: 12.72 kB / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1262, allocations: 3.984 kB / 446.8 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.1262, allocations: 7.984 kB / 446.8 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1263, allocations: 7.938 kB / 446.8 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.1267, allocations: 387.3 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1267, allocations: 384 / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.1267, allocations: 8 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1267, allocations: 3.938 kB / 447.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1267, allocations: 7.984 kB / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.1268, allocations: 4.188 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1268, allocations: 3.938 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.127, allocations: 208.2 kB / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.1271, allocations: 84.95 kB / 447.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.1271, allocations: 7.938 kB / 447.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-05/0.1272, allocations: 7.984 kB / 447.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.1272, allocations: 4 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.1272, allocations: 4 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1274, allocations: 119.2 kB / 447.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1274, allocations: 0 / 447.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.1277, allocations: 35.98 kB / 447.7 MB, free: 15.3 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.001561/0.1292, allocations: 1.125 MB / 448.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.1294, allocations: 67.89 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1295, allocations: 7.938 kB / 448.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.072e-05/0.1295, 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.0003458/0.1299, allocations: 26.02 kB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.1316, allocations: 1.543 MB / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1319, allocations: 0.6964 MB / 451.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.365e-05/0.132, allocations: 25.33 kB / 451.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.132, allocations: 35.42 kB / 451.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.132, allocations: 0 / 451.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.1562, allocations: 3.465 MB / 454.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.653, allocations: 11.94 kB / 454.7 MB, free: 8.184 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_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_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches