Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",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.001313/0.001313, allocations: 102.2 kB / 16.27 MB, free: 5.973 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.001304/0.001304, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.488/1.488, 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.209/0.209, allocations: 43.51 MB / 313.9 MB, free: 0.5352 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.001734/0.001735, allocations: 66.81 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09603, allocations: 57.78 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002966/0.09904, allocations: 1.697 MB / 442.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1004, allocations: 0.8039 MB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1006, allocations: 4 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.101, allocations: 51.73 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.1013, allocations: 55.77 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1017, allocations: 91.75 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.1019, allocations: 91.7 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1021, allocations: 20.16 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1022, allocations: 35.8 kB / 443.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.1023, allocations: 35.78 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.1023, allocations: 4 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.1025, allocations: 39.98 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.998e-05/0.1026, allocations: 31.91 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.573e-05/0.1027, allocations: 35.69 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.103, allocations: 127.6 kB / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.103, allocations: 4 kB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.103, allocations: 0 / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.103, allocations: 0 / 443.7 MB, free: 3.68 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.0006877/0.1037, allocations: 442.6 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.1038, allocations: 11.89 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.1038, allocations: 38.73 kB / 444.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.1039, allocations: 20.75 kB / 444.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1042, allocations: 219.5 kB / 444.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.1042, allocations: 4.375 kB / 444.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.1042, allocations: 7.938 kB / 444.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1044, allocations: 49.67 kB / 444.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1045, allocations: 0 / 444.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.1045, allocations: 8 kB / 444.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1045, allocations: 3.938 kB / 444.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.1046, allocations: 15.98 kB / 444.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.1049, allocations: 304.8 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1051, allocations: 54.67 kB / 444.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.1052, allocations: 24.78 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1052, allocations: 0 / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.1054, allocations: 71.39 kB / 445 MB, free: 2.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.1055, allocations: 3.938 kB / 445 MB, free: 2.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005431/0.106, allocations: 177.1 kB / 445.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.106, allocations: 55.41 kB / 445.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1062, allocations: 259.7 kB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1063, allocations: 25.7 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.1063, allocations: 116 kB / 445.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.1063, allocations: 31.64 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.1064, allocations: 25.7 kB / 445.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.1064, allocations: 326.8 kB / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.233e-05/0.1065, allocations: 23.92 kB / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.1066, allocations: 37.7 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.222e-05/0.1067, allocations: 57.66 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1067, allocations: 4 kB / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001622/0.1068, allocations: 105.5 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1069, allocations: 4 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1069, allocations: 4 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1069, allocations: 0 / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.107, allocations: 15.98 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.107, allocations: 0 / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.1071, allocations: 11.84 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1071, allocations: 8 kB / 446.3 MB, free: 0.9102 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.000107/0.1072, allocations: 141 kB / 446.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.1072, allocations: 11.91 kB / 446.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.1073, allocations: 21.39 kB / 446.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1073, allocations: 0 / 446.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1073, allocations: 3.938 kB / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.1073, allocations: 7.938 kB / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.1078, allocations: 399.3 kB / 446.8 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1078, allocations: 4.031 kB / 446.8 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.1078, allocations: 12.31 kB / 446.8 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1078, allocations: 3.938 kB / 446.8 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1078, allocations: 8 kB / 446.9 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1078, allocations: 4 kB / 446.9 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1079, allocations: 0 / 446.9 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.1081, allocations: 204.2 kB / 447.1 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.602e-05/0.1082, allocations: 93 kB / 447.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.1082, allocations: 4.125 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.1083, allocations: 4 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.1083, allocations: 15.86 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1084, allocations: 4 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.1086, allocations: 199.3 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1086, allocations: 0 / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004036/0.109, allocations: 24 kB / 447.4 MB, free: 15.67 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.001522/0.1105, allocations: 1.097 MB / 448.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.1107, allocations: 63.91 kB / 448.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1108, allocations: 0 / 448.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.1108, allocations: 27.94 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.1112, allocations: 37.94 kB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.1133, allocations: 1.807 MB / 450.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1136, allocations: 0.7195 MB / 451.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.254e-05/0.1137, allocations: 21.17 kB / 451.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.1138, allocations: 35.42 kB / 451.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1138, allocations: 4 kB / 451.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.1352, allocations: 3.615 MB / 454.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/7.864, allocations: 11.98 kB / 454.8 MB, free: 8.168 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_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_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches