Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001754/0.001754, 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.001878/0.001878, 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.415/1.415, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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.3484/0.3484, allocations: 44.24 MB / 343.5 MB, free: 7.605 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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 71.45 kB / 478.9 MB, free: 24.87 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1126, allocations: 60.82 MB / 0.5271 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003148/0.1158, allocations: 1.671 MB / 0.5287 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1172, allocations: 0.8536 MB / 0.5295 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.1173, allocations: 0 / 0.5295 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.1176, allocations: 67.7 kB / 0.5296 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.1179, allocations: 59.75 kB / 0.5297 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1181, allocations: 111.6 kB / 0.5298 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.1183, allocations: 95.69 kB / 0.5299 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.1184, allocations: 4 kB / 0.5299 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.168e-05/0.1185, allocations: 55.75 kB / 0.5299 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1186, allocations: 43.83 kB / 0.53 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.1186, allocations: 4 kB / 0.53 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.497e-05/0.1187, allocations: 28 kB / 0.53 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.1188, allocations: 19.92 kB / 0.53 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.1188, allocations: 31.69 kB / 0.53 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.119, allocations: 103.8 kB / 0.5301 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1191, allocations: 0 / 0.5301 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1191, allocations: 0 / 0.5301 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.1191, allocations: 4 kB / 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.0005896/0.1197, allocations: 406.8 kB / 0.5305 GB, free: 10 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1197, allocations: 12.03 kB / 0.5305 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.1198, allocations: 30.75 kB / 0.5306 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.1198, allocations: 8.891 kB / 0.5306 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.1202, allocations: 213 kB / 0.5308 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1202, allocations: 4.312 kB / 0.5308 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1202, allocations: 3.938 kB / 0.5308 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1204, allocations: 57.67 kB / 0.5308 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1204, allocations: 7.938 kB / 0.5309 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1204, allocations: 0 / 0.5309 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1204, allocations: 0 / 0.5309 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/0.1205, allocations: 15.98 kB / 0.5309 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.1207, allocations: 177.7 kB / 0.531 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1209, allocations: 58.48 kB / 0.5311 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.121, allocations: 20.86 kB / 0.5311 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.121, allocations: 4 kB / 0.5311 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.1212, allocations: 67.39 kB / 0.5312 GB, free: 9.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.1212, allocations: 0 / 0.5312 GB, free: 9.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.00031/0.1215, allocations: 101.5 kB / 0.5313 GB, free: 9.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.1215, allocations: 59.34 kB / 0.5313 GB, free: 9.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1217, allocations: 182.2 kB / 0.5315 GB, free: 8.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.1217, allocations: 29.7 kB / 0.5315 GB, free: 8.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.1218, allocations: 100.1 kB / 0.5316 GB, free: 8.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.1219, allocations: 15.91 kB / 0.5316 GB, free: 8.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.1219, allocations: 21.7 kB / 0.5317 GB, free: 8.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.122, allocations: 322.8 kB / 0.532 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.954e-05/0.1221, allocations: 12 kB / 0.532 GB, free: 8.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.652e-05/0.1222, allocations: 25.7 kB / 0.532 GB, free: 8.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.588e-05/0.1223, allocations: 49.7 kB / 0.5321 GB, free: 8.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1223, allocations: 3.938 kB / 0.5321 GB, free: 8.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001588/0.1224, allocations: 77.58 kB / 0.5321 GB, free: 8.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1225, allocations: 8 kB / 0.5321 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1225, allocations: 0 / 0.5321 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1225, allocations: 0 / 0.5321 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.695e-05/0.1226, allocations: 12 kB / 0.5322 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.1226, allocations: 11.95 kB / 0.5322 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.038e-05/0.1226, allocations: 4 kB / 0.5322 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1227, allocations: 7.938 kB / 0.5322 GB, free: 8.113 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.777e-05/0.1228, allocations: 121.8 kB / 0.5323 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1228, allocations: 15.89 kB / 0.5323 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.777e-05/0.1228, allocations: 12.31 kB / 0.5323 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1228, allocations: 0 / 0.5323 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1229, allocations: 0 / 0.5323 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1229, allocations: 4 kB / 0.5323 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.123, allocations: 197.4 kB / 0.5325 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1231, allocations: 320 / 0.5325 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.1231, allocations: 11.98 kB / 0.5325 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1231, allocations: 0 / 0.5325 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1231, allocations: 4 kB / 0.5325 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1231, allocations: 0 / 0.5325 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1231, allocations: 0 / 0.5325 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.1233, allocations: 112.9 kB / 0.5326 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.1234, allocations: 85.06 kB / 0.5327 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.1234, allocations: 4 kB / 0.5327 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.1234, allocations: 0 / 0.5327 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.1235, allocations: 7.984 kB / 0.5327 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.1235, allocations: 0 / 0.5327 GB, free: 7.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.1236, allocations: 147.2 kB / 0.5329 GB, free: 7.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1236, allocations: 0 / 0.5329 GB, free: 7.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.1238, allocations: 16 kB / 0.5329 GB, free: 7.289 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.001811/0.1257, allocations: 0.9499 MB / 0.5338 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.1258, allocations: 39.98 kB / 0.5339 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1259, allocations: 3.938 kB / 0.5339 GB, free: 6.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.5e-05/0.1259, allocations: 19.98 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.0002644/0.1262, allocations: 32.81 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.001599/0.1278, allocations: 1.481 MB / 0.5354 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1281, allocations: 0.6924 MB / 0.536 GB, free: 4.102 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.131e-05/0.1282, allocations: 12.55 kB / 0.536 GB, free: 4.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.215e-05/0.1283, allocations: 35.42 kB / 0.5361 GB, free: 4.055 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1283, allocations: 4 kB / 0.5361 GB, free: 4.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.1516, allocations: 3.074 MB / 0.5391 GB, free: 1.066 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/7.961, allocations: 7.922 kB / 0.5391 GB, free: 1.059 MB / 398.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.035731981042773]