Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 107.5 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 226.2 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2213/0.2213, allocations: 44.24 MB / 330.3 MB, free: 9.598 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 71.91 kB / 467.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1231, allocations: 61.05 MB / 0.5162 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003241/0.1264, allocations: 1.859 MB / 0.518 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.128, allocations: 0.9285 MB / 0.5189 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.69e-05/0.1281, allocations: 7.938 kB / 0.5189 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.1285, allocations: 159.5 kB / 0.5191 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.1288, allocations: 127.5 kB / 0.5192 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.1292, allocations: 159.6 kB / 0.5194 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.1295, allocations: 211.4 kB / 0.5196 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1296, allocations: 21.72 kB / 0.5196 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.1298, allocations: 107.6 kB / 0.5197 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.13, allocations: 131.5 kB / 0.5198 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.13, allocations: 11.94 kB / 0.5198 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1301, allocations: 47.98 kB / 0.5199 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.411e-05/0.1302, allocations: 51.81 kB / 0.5199 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.1303, allocations: 71.44 kB / 0.52 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.1306, allocations: 199 kB / 0.5202 GB, free: 3.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1306, allocations: 0 / 0.5202 GB, free: 3.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1306, allocations: 0 / 0.5202 GB, free: 3.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1306, allocations: 0 / 0.5202 GB, free: 3.18 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007344/0.1314, allocations: 456.8 kB / 0.5206 GB, free: 2.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1314, allocations: 12.03 kB / 0.5206 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.1315, allocations: 38.73 kB / 0.5207 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.1315, allocations: 28.75 kB / 0.5207 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.1319, allocations: 209.5 kB / 0.5209 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1319, allocations: 384 / 0.5209 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.1319, allocations: 7.938 kB / 0.5209 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.1321, allocations: 95.36 kB / 0.521 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1322, allocations: 0 / 0.521 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.1322, allocations: 7.984 kB / 0.521 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1322, allocations: 4 kB / 0.521 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.1323, allocations: 39.92 kB / 0.521 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.1328, allocations: 408 kB / 0.5214 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.1331, allocations: 117.3 kB / 0.5215 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.714e-05/0.1332, allocations: 33.7 kB / 0.5216 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.1332, allocations: 4 kB / 0.5216 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.1335, allocations: 120.9 kB / 0.5217 GB, free: 1.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 3.326e-06/0.1335, allocations: 3.984 kB / 0.5217 GB, free: 1.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009085/0.1344, allocations: 368.6 kB / 0.522 GB, free: 1.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.1345, allocations: 85.05 kB / 0.5221 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.1348, allocations: 356.2 kB / 0.5225 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1349, allocations: 37.62 kB / 0.5225 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.135, allocations: 136.4 kB / 0.5226 GB, free: 468 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.135, allocations: 55.58 kB / 0.5227 GB, free: 412 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.1351, allocations: 37.7 kB / 0.5227 GB, free: 368 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1353, allocations: 338.8 kB / 0.523 GB, free: 20 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.1354, allocations: 44.05 kB / 0.5231 GB, free: 15.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1355, allocations: 63.42 kB / 0.5232 GB, free: 15.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.1357, allocations: 123.3 kB / 0.5233 GB, free: 15.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1357, allocations: 0 / 0.5233 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003286/0.1361, allocations: 185.5 kB / 0.5234 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1361, allocations: 4 kB / 0.5234 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.1361, allocations: 4 kB / 0.5235 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1361, allocations: 3.938 kB / 0.5235 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.1362, allocations: 39.92 kB / 0.5235 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1363, allocations: 4.062 kB / 0.5235 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.604e-05/0.1363, allocations: 4 kB / 0.5235 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.1363, allocations: 8 kB / 0.5235 GB, free: 15.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001431/0.1365, allocations: 157.7 kB / 0.5237 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.1365, allocations: 23.86 kB / 0.5237 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.1369, allocations: 203.2 kB / 0.5239 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.137, allocations: 7.938 kB / 0.5239 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.137, allocations: 4 kB / 0.5239 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.137, allocations: 0 / 0.5239 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007416/0.1377, allocations: 0.5806 MB / 0.5245 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1377, allocations: 0 / 0.5245 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.1378, allocations: 16 kB / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1378, allocations: 3.984 kB / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1378, allocations: 8.75 kB / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.1378, allocations: 8.062 kB / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1378, allocations: 0 / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.1382, allocations: 372.2 kB / 0.5248 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.1382, allocations: 15.86 kB / 0.5249 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.1383, allocations: 12 kB / 0.5249 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1384, allocations: 11.98 kB / 0.5249 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.1384, allocations: 15.98 kB / 0.5249 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.1385, allocations: 7.984 kB / 0.5249 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.1387, allocations: 263.1 kB / 0.5252 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1387, allocations: 0 / 0.5252 GB, free: 13.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000323/0.139, allocations: 39.92 kB / 0.5252 GB, free: 13.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002357/0.1414, allocations: 1.253 MB / 0.5264 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.1417, allocations: 111.9 kB / 0.5265 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.1417, allocations: 4 kB / 0.5265 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.1418, allocations: 47.91 kB / 0.5266 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.1424, allocations: 68.88 kB / 0.5266 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.1454, allocations: 2.455 MB / 0.529 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1458, allocations: 0.7476 MB / 0.5298 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.884e-05/0.1459, allocations: 37.91 kB / 0.5298 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.146, allocations: 75.41 kB / 0.5299 GB, free: 8.781 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.146, allocations: 0 / 0.5299 GB, free: 8.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.1778, allocations: 5.643 MB / 0.5354 GB, free: 3.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.15, allocations: 4.312 kB / 0.5354 GB, free: 3.035 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv failed! Error: Could not read variable t_new_2.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv. Warning: Get data of variable t_new_2.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv failed! Error: Could not read variable d_t_new_2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv. Warning: Get data of variable d_t_new_2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.382640023999556]