Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001295/0.001295, allocations: 116.8 kB / 18.45 MB, free: 4.613 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.001293/0.001293, allocations: 189.3 kB / 21.39 MB, free: 1.684 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.452/1.452, allocations: 222.9 MB / 247.1 MB, free: 4.223 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.3364/0.3364, allocations: 44.25 MB / 343.5 MB, free: 7.609 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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 73.55 kB / 478.9 MB, free: 24.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1333, allocations: 60.83 MB / 0.5271 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.00371/0.1371, allocations: 1.699 MB / 0.5288 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1389, allocations: 0.8847 MB / 0.5296 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.139, allocations: 0 / 0.5296 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.1393, allocations: 35.77 kB / 0.5297 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.1397, allocations: 55.75 kB / 0.5297 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.1401, allocations: 107.6 kB / 0.5298 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.1403, allocations: 95.69 kB / 0.5299 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1404, allocations: 12.52 kB / 0.5299 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.1405, allocations: 43.78 kB / 0.53 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.392e-05/0.1406, allocations: 27.84 kB / 0.53 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.1406, allocations: 7.938 kB / 0.53 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1408, allocations: 40 kB / 0.53 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.1408, allocations: 19.91 kB / 0.53 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.87e-05/0.1409, allocations: 35.73 kB / 0.5301 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.1412, allocations: 103.6 kB / 0.5302 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1412, allocations: 4 kB / 0.5302 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1412, allocations: 0 / 0.5302 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1412, allocations: 4 kB / 0.5302 GB, free: 10.29 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000627/0.1418, allocations: 414.7 kB / 0.5306 GB, free: 9.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1419, allocations: 12.03 kB / 0.5306 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.1419, allocations: 30.75 kB / 0.5306 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.142, allocations: 20.83 kB / 0.5306 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.1423, allocations: 210.4 kB / 0.5308 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1424, allocations: 384 / 0.5308 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.1424, allocations: 11.94 kB / 0.5309 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1426, allocations: 53.67 kB / 0.5309 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1426, allocations: 3.984 kB / 0.5309 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1426, allocations: 0 / 0.5309 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1427, allocations: 0 / 0.5309 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.331e-05/0.1427, allocations: 23.92 kB / 0.5309 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.1431, allocations: 280.9 kB / 0.5312 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1433, allocations: 58.69 kB / 0.5313 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.1434, allocations: 20.84 kB / 0.5313 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1434, allocations: 0 / 0.5313 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.1436, allocations: 71.33 kB / 0.5313 GB, free: 8.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1436, allocations: 3.938 kB / 0.5314 GB, free: 8.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005533/0.1442, allocations: 173.4 kB / 0.5315 GB, free: 8.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.1442, allocations: 51.41 kB / 0.5316 GB, free: 8.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.1444, allocations: 175.8 kB / 0.5317 GB, free: 8.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1445, allocations: 33.64 kB / 0.5318 GB, free: 8.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.1445, allocations: 96.12 kB / 0.5319 GB, free: 8.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.1446, allocations: 27.75 kB / 0.5319 GB, free: 8.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.1446, allocations: 29.7 kB / 0.5319 GB, free: 8.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1448, allocations: 322.8 kB / 0.5322 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.1449, allocations: 20 kB / 0.5322 GB, free: 7.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.041e-05/0.145, allocations: 37.7 kB / 0.5323 GB, free: 7.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1451, allocations: 61.62 kB / 0.5323 GB, free: 7.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1451, allocations: 0 / 0.5323 GB, free: 7.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002048/0.1453, allocations: 97.62 kB / 0.5324 GB, free: 7.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1454, allocations: 12.03 kB / 0.5324 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1454, allocations: 3.938 kB / 0.5324 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1454, allocations: 0 / 0.5324 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.737e-05/0.1455, allocations: 12 kB / 0.5325 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.1455, allocations: 4.156 kB / 0.5325 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.1456, allocations: 8.297 kB / 0.5325 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1456, allocations: 4 kB / 0.5325 GB, free: 7.711 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 (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.0001387/0.1457, allocations: 127.7 kB / 0.5326 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1458, allocations: 11.91 kB / 0.5326 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.1458, allocations: 24.69 kB / 0.5326 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1458, allocations: 8 kB / 0.5326 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1458, allocations: 0 / 0.5326 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1459, allocations: 3.938 kB / 0.5326 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.1463, allocations: 383.3 kB / 0.533 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1464, allocations: 0 / 0.533 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.1464, allocations: 15.94 kB / 0.533 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1464, allocations: 3.938 kB / 0.533 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1465, allocations: 12.02 kB / 0.533 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1465, allocations: 0 / 0.533 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1465, allocations: 0 / 0.533 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.1467, allocations: 196.3 kB / 0.5332 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.1469, allocations: 89.02 kB / 0.5333 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1469, allocations: 4.125 kB / 0.5333 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.147, allocations: 7.938 kB / 0.5333 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.147, allocations: 15.92 kB / 0.5333 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1471, allocations: 4 kB / 0.5333 GB, free: 6.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.1472, allocations: 130.5 kB / 0.5335 GB, free: 6.594 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1472, allocations: 3.938 kB / 0.5335 GB, free: 6.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1475, allocations: 27.92 kB / 0.5335 GB, free: 6.562 MB / 398.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.002195/0.1497, allocations: 1.091 MB / 0.5346 GB, free: 5.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.1499, allocations: 63.91 kB / 0.5346 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1499, allocations: 0 / 0.5346 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.15, allocations: 31.92 kB / 0.5346 GB, free: 5.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.1504, allocations: 29.36 kB / 0.5347 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.1523, allocations: 1.612 MB / 0.5362 GB, free: 3.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1527, allocations: 0.7041 MB / 0.5369 GB, free: 3.082 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.418e-05/0.1528, allocations: 12.88 kB / 0.5369 GB, free: 3.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.1528, allocations: 31.42 kB / 0.537 GB, free: 3.039 MB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1528, allocations: 0 / 0.537 GB, free: 3.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.1802, allocations: 3.315 MB / 0.5402 GB, free: 15.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.011, allocations: 7.969 kB / 0.5402 GB, free: 15.8 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.06974705203902]