Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",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.001342/0.001342, allocations: 100.2 kB / 17.63 MB, free: 5.523 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.001502/0.001502, allocations: 191.9 kB / 18.56 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 242.3 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2731/0.2731, allocations: 44.18 MB / 336.6 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 61.09 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1115, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003263/0.1149, allocations: 1.668 MB / 471 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1161, allocations: 0.8574 MB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.1162, allocations: 0 / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.1165, allocations: 55.75 kB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.1167, allocations: 59.75 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.117, allocations: 111.6 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1172, allocations: 87.7 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.1172, allocations: 8 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.1173, allocations: 39.84 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.1174, allocations: 27.8 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1174, allocations: 4 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.877e-05/0.1175, allocations: 27.98 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.1176, allocations: 27.91 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.1176, allocations: 39.69 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.1178, allocations: 119.8 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1178, allocations: 0 / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1178, allocations: 0 / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.1179, allocations: 0 / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005222/0.1184, allocations: 434.7 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1184, allocations: 8.031 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.1185, allocations: 38.73 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.1185, allocations: 16.75 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1187, allocations: 204 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1188, allocations: 384 / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.1188, allocations: 11.92 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1189, allocations: 49.62 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.1189, allocations: 4 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.119, allocations: 3.984 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.119, allocations: 4 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.254e-05/0.119, allocations: 15.98 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.1192, allocations: 189.7 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1194, allocations: 54.56 kB / 473.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.1195, allocations: 24.84 kB / 473.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1195, allocations: 3.938 kB / 473.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.1197, allocations: 63.39 kB / 473.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1197, allocations: 0 / 473.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002682/0.1199, allocations: 93.48 kB / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.12, allocations: 55.41 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.1202, allocations: 262.9 kB / 474 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1202, allocations: 33.7 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.1203, allocations: 120 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.1203, allocations: 7.891 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.1204, allocations: 17.72 kB / 474.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1205, allocations: 330.8 kB / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.787e-05/0.1205, allocations: 19.92 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.1206, allocations: 21.72 kB / 474.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.285e-05/0.1207, allocations: 45.7 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1207, allocations: 7.938 kB / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001521/0.1209, allocations: 81.75 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1209, allocations: 8 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1209, allocations: 7.984 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1209, allocations: 0 / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/0.121, allocations: 8 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.121, allocations: 8.031 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.1211, allocations: 11.84 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.1211, allocations: 4 kB / 474.7 MB, free: 8.672 MB / 350.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 (7): * Single equations (assignments): 7 * 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.1212, allocations: 133.7 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.1212, allocations: 11.91 kB / 474.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.1213, allocations: 20.98 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1213, allocations: 0 / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1213, allocations: 0 / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1213, allocations: 0 / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.1214, allocations: 201.6 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1215, allocations: 0 / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.1215, allocations: 4 kB / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1215, allocations: 0 / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1215, allocations: 7.984 kB / 475.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1215, allocations: 0 / 475.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1215, allocations: 0 / 475.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.1217, allocations: 112.8 kB / 475.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.1218, allocations: 96.91 kB / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1218, allocations: 0 / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.645e-05/0.1218, allocations: 4 kB / 475.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.1219, allocations: 0 / 475.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1219, allocations: 11.98 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.122, allocations: 196.2 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.122, allocations: 0 / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002094/0.1223, allocations: 16 kB / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001186/0.1235, allocations: 0.9621 MB / 476.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.1236, allocations: 47.91 kB / 476.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1236, allocations: 0 / 476.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.665e-05/0.1237, allocations: 16 kB / 476.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.124, allocations: 26.03 kB / 476.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.1255, allocations: 1.658 MB / 478.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.1258, allocations: 0.7157 MB / 478.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.567e-05/0.1258, allocations: 12.55 kB / 478.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.733e-05/0.1259, allocations: 39.42 kB / 479 MB, free: 4.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1259, allocations: 0 / 479 MB, free: 4.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.1434, allocations: 3.31 MB / 482.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.421/7.564, allocations: 22.86 kB / 482.3 MB, free: 1.078 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches