Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001269/0.001269, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.00143/0.00143, allocations: 209.6 kB / 20.75 MB, free: 2.27 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.453/1.453, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2385/0.2385, allocations: 44.91 MB / 355.1 MB, free: 12.41 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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.001917/0.001917, allocations: 67.89 kB / 499.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1223, allocations: 65.43 MB / 0.5518 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003132/0.1254, allocations: 1.733 MB / 0.5535 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1273, allocations: 1.034 MB / 0.5545 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.1273, allocations: 3.938 kB / 0.5545 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.1277, allocations: 87.64 kB / 0.5546 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.128, allocations: 115.6 kB / 0.5547 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1282, allocations: 79.67 kB / 0.5548 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1284, allocations: 107.7 kB / 0.5549 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.683e-05/0.1285, allocations: 20.2 kB / 0.5549 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1286, allocations: 59.7 kB / 0.555 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1287, allocations: 63.8 kB / 0.5551 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1287, allocations: 4 kB / 0.5551 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-05/0.1288, allocations: 39.98 kB / 0.5551 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.1289, allocations: 27.92 kB / 0.5551 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.1289, allocations: 39.67 kB / 0.5552 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.1292, allocations: 127.4 kB / 0.5553 GB, free: 6.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1292, allocations: 4 kB / 0.5553 GB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1292, allocations: 0 / 0.5553 GB, free: 6.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1292, allocations: 3.938 kB / 0.5553 GB, free: 6.504 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.0005725/0.1297, allocations: 430.6 kB / 0.5557 GB, free: 6.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1298, allocations: 12.03 kB / 0.5557 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.1298, allocations: 30.75 kB / 0.5557 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.1298, allocations: 12.84 kB / 0.5558 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.1301, allocations: 228.1 kB / 0.556 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1302, allocations: 384 / 0.556 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1302, allocations: 11.92 kB / 0.556 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1303, allocations: 57.61 kB / 0.556 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1303, allocations: 0 / 0.556 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1303, allocations: 0 / 0.556 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-06/0.1303, allocations: 0 / 0.556 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.141e-05/0.1304, allocations: 19.98 kB / 0.5561 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.1308, allocations: 296.9 kB / 0.5563 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.131, allocations: 54.61 kB / 0.5564 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.131, allocations: 16.86 kB / 0.5564 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.131, allocations: 0 / 0.5564 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.1312, allocations: 67.39 kB / 0.5565 GB, free: 5.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1312, allocations: 4 kB / 0.5565 GB, free: 5.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005322/0.1317, allocations: 181.3 kB / 0.5567 GB, free: 4.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.1318, allocations: 51.41 kB / 0.5567 GB, free: 4.867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.132, allocations: 235.3 kB / 0.5569 GB, free: 4.621 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.132, allocations: 29.7 kB / 0.557 GB, free: 4.586 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.1321, allocations: 108.1 kB / 0.5571 GB, free: 4.477 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.1321, allocations: 23.84 kB / 0.5571 GB, free: 4.453 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.1322, allocations: 17.72 kB / 0.5571 GB, free: 4.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1323, allocations: 330.8 kB / 0.5574 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.126e-05/0.1324, allocations: 19.98 kB / 0.5574 GB, free: 4.078 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.1325, allocations: 41.58 kB / 0.5575 GB, free: 4.031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1326, allocations: 61.7 kB / 0.5575 GB, free: 3.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1326, allocations: 0 / 0.5575 GB, free: 3.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002042/0.1328, allocations: 109.5 kB / 0.5576 GB, free: 3.852 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1328, allocations: 4 kB / 0.5576 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1328, allocations: 0 / 0.5576 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1328, allocations: 0 / 0.5576 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.1329, allocations: 23.98 kB / 0.5577 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1329, allocations: 0 / 0.5577 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.133, allocations: 3.938 kB / 0.5577 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.133, allocations: 4 kB / 0.5577 GB, free: 3.816 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.0001185/0.1331, allocations: 136 kB / 0.5578 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.1331, allocations: 15.94 kB / 0.5578 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.1332, allocations: 17.41 kB / 0.5578 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1332, allocations: 0 / 0.5578 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1332, allocations: 3.984 kB / 0.5578 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1332, allocations: 7.922 kB / 0.5578 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.1336, allocations: 403.4 kB / 0.5582 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1336, allocations: 0 / 0.5582 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.1337, allocations: 12.36 kB / 0.5582 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1337, allocations: 7.969 kB / 0.5582 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1337, allocations: 12 kB / 0.5583 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1337, allocations: 0 / 0.5583 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1337, allocations: 0 / 0.5583 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.1339, allocations: 200.2 kB / 0.5584 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.134, allocations: 85.06 kB / 0.5585 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.134, allocations: 11.88 kB / 0.5585 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.1341, allocations: 11.98 kB / 0.5586 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.1341, allocations: 4 kB / 0.5586 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.1341, allocations: 4 kB / 0.5586 GB, free: 2.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.1343, allocations: 169.2 kB / 0.5587 GB, free: 2.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1343, allocations: 0 / 0.5587 GB, free: 2.629 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1345, allocations: 20 kB / 0.5587 GB, free: 2.609 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.002134/0.1367, allocations: 1.103 MB / 0.5598 GB, free: 1.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.1369, allocations: 51.98 kB / 0.5599 GB, free: 1.613 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1369, allocations: 0 / 0.5599 GB, free: 1.613 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.559e-05/0.137, allocations: 27.92 kB / 0.5599 GB, free: 1.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1373, allocations: 38.53 kB / 0.5599 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.1393, allocations: 1.723 MB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1397, allocations: 0.708 MB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.582e-05/0.1397, allocations: 12.88 kB / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.1398, allocations: 35.42 kB / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1398, allocations: 0 / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.1632, allocations: 3.596 MB / 0.5659 GB, free: 11.42 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.242, allocations: 3.938 kB / 0.5659 GB, free: 11.42 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.370956492144614]