Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001881/0.001881, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002148/0.002148, allocations: 204.3 kB / 20.74 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.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.2847/0.2847, allocations: 44.91 MB / 355.1 MB, free: 12.36 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001973/0.001973, allocations: 68.17 kB / 499.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1335, allocations: 65.42 MB / 0.5518 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003268/0.1367, allocations: 1.737 MB / 0.5535 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.1393, allocations: 1.645 MB / 0.5551 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.1394, allocations: 0 / 0.5551 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.1397, allocations: 31.77 kB / 0.5552 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.14, allocations: 103.5 kB / 0.5553 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.1402, allocations: 83.67 kB / 0.5553 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.1404, allocations: 103.7 kB / 0.5554 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1405, allocations: 20.25 kB / 0.5555 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1406, allocations: 43.8 kB / 0.5555 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.1408, allocations: 47.77 kB / 0.5555 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1408, allocations: 4 kB / 0.5556 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.141, allocations: 107.9 kB / 0.5557 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.141, allocations: 23.86 kB / 0.5557 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.1411, allocations: 35.73 kB / 0.5557 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.1414, allocations: 175.3 kB / 0.5559 GB, free: 5.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1414, allocations: 4 kB / 0.5559 GB, free: 5.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1414, allocations: 0 / 0.5559 GB, free: 5.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1414, allocations: 0 / 0.5559 GB, free: 5.91 MB / 414.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.0006435/0.142, allocations: 430.6 kB / 0.5563 GB, free: 5.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1421, allocations: 8.031 kB / 0.5563 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.1421, allocations: 38.73 kB / 0.5563 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.1422, allocations: 16.84 kB / 0.5564 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.1425, allocations: 217.7 kB / 0.5566 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1425, allocations: 4 kB / 0.5566 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1425, allocations: 7.938 kB / 0.5566 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.1427, allocations: 67.39 kB / 0.5566 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1427, allocations: 0 / 0.5566 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1427, allocations: 4 kB / 0.5566 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.1428, allocations: 4 kB / 0.5566 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.791e-05/0.1428, allocations: 19.92 kB / 0.5567 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.1433, allocations: 288.9 kB / 0.5569 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.1435, allocations: 50.69 kB / 0.557 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.1435, allocations: 20.84 kB / 0.557 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1435, allocations: 0 / 0.557 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.1437, allocations: 71.33 kB / 0.5571 GB, free: 4.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1437, allocations: 4 kB / 0.5571 GB, free: 4.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005894/0.1443, allocations: 181.4 kB / 0.5573 GB, free: 4.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.1444, allocations: 85.05 kB / 0.5573 GB, free: 4.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.1446, allocations: 161.9 kB / 0.5575 GB, free: 4.051 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1446, allocations: 29.7 kB / 0.5575 GB, free: 4.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.1447, allocations: 96.12 kB / 0.5576 GB, free: 3.918 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1447, allocations: 27.75 kB / 0.5576 GB, free: 3.891 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.1448, allocations: 33.7 kB / 0.5577 GB, free: 3.852 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1449, allocations: 322.8 kB / 0.558 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.339e-05/0.145, allocations: 20 kB / 0.558 GB, free: 3.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.692e-05/0.1451, allocations: 42.56 kB / 0.558 GB, free: 3.457 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1452, allocations: 61.64 kB / 0.5581 GB, free: 3.391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1452, allocations: 0 / 0.5581 GB, free: 3.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.1454, allocations: 105.6 kB / 0.5582 GB, free: 3.281 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1454, allocations: 4.188 kB / 0.5582 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1454, allocations: 4 kB / 0.5582 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1454, allocations: 7.875 kB / 0.5582 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1455, allocations: 15.94 kB / 0.5582 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1455, allocations: 0 / 0.5582 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.1456, allocations: 7.984 kB / 0.5582 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1456, allocations: 4 kB / 0.5582 GB, free: 3.238 MB / 414.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.0001111/0.1457, allocations: 124.1 kB / 0.5584 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.1457, allocations: 11.95 kB / 0.5584 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.1458, allocations: 16.7 kB / 0.5584 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1458, allocations: 3.938 kB / 0.5584 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1458, allocations: 3.938 kB / 0.5584 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1458, allocations: 0 / 0.5584 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.1463, allocations: 391.3 kB / 0.5588 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1463, allocations: 7.938 kB / 0.5588 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.1464, allocations: 11.97 kB / 0.5588 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1464, allocations: 4 kB / 0.5588 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1464, allocations: 0 / 0.5588 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1464, allocations: 3.984 kB / 0.5588 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.1464, allocations: 4 kB / 0.5588 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.1466, allocations: 200.3 kB / 0.559 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/0.1467, allocations: 85 kB / 0.5591 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.1467, allocations: 12.38 kB / 0.5591 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.1468, allocations: 3.984 kB / 0.5591 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.1469, allocations: 4 kB / 0.5591 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.1469, allocations: 11.98 kB / 0.5591 GB, free: 2.254 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.147, allocations: 126.3 kB / 0.5592 GB, free: 2.133 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.147, allocations: 0 / 0.5592 GB, free: 2.133 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.1473, allocations: 55.8 kB / 0.5593 GB, free: 2.078 MB / 414.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.002451/0.1498, allocations: 1.177 MB / 0.5604 GB, free: 1.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.15, allocations: 63.89 kB / 0.5605 GB, free: 1.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.15, allocations: 0 / 0.5605 GB, free: 1.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.1501, allocations: 31.92 kB / 0.5605 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.1504, allocations: 31.56 kB / 0.5605 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.1524, allocations: 1.596 MB / 0.5621 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.1529, allocations: 0.7002 MB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.896e-05/0.1529, allocations: 16.88 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.97e-05/0.153, allocations: 39.41 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.153, allocations: 0 / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.1815, allocations: 4.049 MB / 0.5668 GB, free: 10.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.209, allocations: 3.938 kB / 0.5668 GB, free: 10.46 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.505050180014223]