Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 118.4 kB / 18.45 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 191.7 kB / 21.39 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 247.1 MB, free: 4.34 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3203/0.3203, allocations: 44.25 MB / 343.5 MB, free: 7.617 MB / 270.1 MB " [Timeout remaining time 180] 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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 73.67 kB / 478.9 MB, free: 24.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1136, allocations: 60.83 MB / 0.5271 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002873/0.1165, allocations: 1.66 MB / 0.5287 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1178, allocations: 0.8496 MB / 0.5295 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.1179, allocations: 3.938 kB / 0.5295 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.1182, allocations: 63.78 kB / 0.5296 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1184, allocations: 63.75 kB / 0.5297 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1187, allocations: 103.6 kB / 0.5298 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1189, allocations: 99.67 kB / 0.5299 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.1189, allocations: 11.98 kB / 0.5299 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.123e-05/0.119, allocations: 43.78 kB / 0.5299 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.036e-05/0.1191, allocations: 43.83 kB / 0.53 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1191, allocations: 8 kB / 0.53 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-05/0.1192, allocations: 35.92 kB / 0.53 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.1193, allocations: 15.92 kB / 0.53 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.1193, allocations: 31.8 kB / 0.53 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.1195, allocations: 103.8 kB / 0.5301 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1195, allocations: 0 / 0.5301 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1195, allocations: 0 / 0.5301 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1195, allocations: 0 / 0.5301 GB, free: 10.45 MB / 398.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.0005078/0.12, allocations: 403.8 kB / 0.5305 GB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1201, allocations: 20.02 kB / 0.5305 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.1201, allocations: 38.75 kB / 0.5306 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.1202, allocations: 12.83 kB / 0.5306 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.1204, allocations: 201.1 kB / 0.5308 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.1205, allocations: 8.312 kB / 0.5308 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.1205, allocations: 3.938 kB / 0.5308 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.1206, allocations: 57.69 kB / 0.5309 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1206, allocations: 7.922 kB / 0.5309 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.1206, allocations: 0 / 0.5309 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.1207, allocations: 4 kB / 0.5309 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.885e-05/0.1207, allocations: 8 kB / 0.5309 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.1209, allocations: 177.7 kB / 0.531 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1211, allocations: 62.48 kB / 0.5311 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.1211, allocations: 20.84 kB / 0.5311 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1212, allocations: 4 kB / 0.5311 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.1213, allocations: 67.39 kB / 0.5312 GB, free: 9.207 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.1213, allocations: 0 / 0.5312 GB, free: 9.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002687/0.1216, allocations: 93.52 kB / 0.5313 GB, free: 9.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.1217, allocations: 59.41 kB / 0.5313 GB, free: 9.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.1218, allocations: 182.2 kB / 0.5315 GB, free: 8.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1219, allocations: 25.7 kB / 0.5315 GB, free: 8.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.1219, allocations: 104.1 kB / 0.5316 GB, free: 8.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.122, allocations: 19.88 kB / 0.5317 GB, free: 8.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.122, allocations: 17.72 kB / 0.5317 GB, free: 8.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1221, allocations: 322.8 kB / 0.532 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.1222, allocations: 12 kB / 0.532 GB, free: 8.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.1223, allocations: 29.7 kB / 0.532 GB, free: 8.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.1224, allocations: 53.64 kB / 0.5321 GB, free: 8.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1224, allocations: 3.938 kB / 0.5321 GB, free: 8.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001476/0.1225, allocations: 73.64 kB / 0.5321 GB, free: 8.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1226, allocations: 8 kB / 0.5321 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1226, allocations: 320 / 0.5321 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1226, allocations: 3.938 kB / 0.5322 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.003e-05/0.1227, allocations: 11.98 kB / 0.5322 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1227, allocations: 4 kB / 0.5322 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.183e-05/0.1227, allocations: 4 kB / 0.5322 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1227, allocations: 8.031 kB / 0.5322 GB, free: 8.117 MB / 398.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 9.665e-05/0.1228, allocations: 125.8 kB / 0.5323 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.1229, allocations: 15.91 kB / 0.5323 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.1229, allocations: 8.312 kB / 0.5323 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1229, allocations: 0 / 0.5323 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.1229, allocations: 0 / 0.5323 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1229, allocations: 3.984 kB / 0.5323 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.1231, allocations: 197.4 kB / 0.5325 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1231, allocations: 0 / 0.5325 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.1231, allocations: 4 kB / 0.5325 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1231, allocations: 7.938 kB / 0.5325 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.1231, allocations: 0 / 0.5325 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1232, allocations: 4 kB / 0.5325 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1232, allocations: 3.938 kB / 0.5325 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.1233, allocations: 109 kB / 0.5326 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.1234, allocations: 81.06 kB / 0.5327 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.1234, allocations: 4 kB / 0.5327 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.1235, allocations: 7.984 kB / 0.5327 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.1235, allocations: 8 kB / 0.5327 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1235, allocations: 0 / 0.5327 GB, free: 7.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.1236, allocations: 143.2 kB / 0.5329 GB, free: 7.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1237, allocations: 4 kB / 0.5329 GB, free: 7.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002003/0.1239, allocations: 12 kB / 0.5329 GB, free: 7.293 MB / 398.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.001786/0.1257, allocations: 0.9588 MB / 0.5338 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.1258, allocations: 35.98 kB / 0.5339 GB, free: 6.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1258, allocations: 3.938 kB / 0.5339 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.307e-05/0.1259, allocations: 23.92 kB / 0.5339 GB, free: 6.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.1262, allocations: 26.8 kB / 0.5339 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.1277, allocations: 1.485 MB / 0.5354 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.128, allocations: 0.7002 MB / 0.536 GB, free: 4.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.005e-05/0.1281, allocations: 16.55 kB / 0.5361 GB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.1282, allocations: 27.42 kB / 0.5361 GB, free: 4.047 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.1282, allocations: 4 kB / 0.5361 GB, free: 4.043 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.1514, allocations: 3.066 MB / 0.5391 GB, free: 1.066 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/8.031, allocations: 3.984 kB / 0.5391 GB, free: 1.062 MB / 398.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.005326295038685]