Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001836/0.001836, allocations: 124.5 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.002315/0.002315, allocations: 211.2 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.572/1.572, 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.256/0.256, allocations: 44.91 MB / 355.1 MB, free: 12.32 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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.001918/0.001918, allocations: 63.89 kB / 499.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1271, allocations: 65.43 MB / 0.5518 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003329/0.1304, allocations: 1.733 MB / 0.5535 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1321, allocations: 1.031 MB / 0.5545 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.1322, allocations: 11.88 kB / 0.5545 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.1325, allocations: 83.7 kB / 0.5546 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.1328, allocations: 111.6 kB / 0.5547 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.133, allocations: 79.67 kB / 0.5548 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1332, allocations: 111.7 kB / 0.5549 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.603e-05/0.1333, allocations: 12.28 kB / 0.5549 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1334, allocations: 63.64 kB / 0.555 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1335, allocations: 67.8 kB / 0.5551 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1335, allocations: 4 kB / 0.5551 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-05/0.1336, allocations: 43.98 kB / 0.5551 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.958e-05/0.1336, allocations: 27.91 kB / 0.5551 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.1337, allocations: 35.69 kB / 0.5552 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.1339, allocations: 119.4 kB / 0.5553 GB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1339, allocations: 3.984 kB / 0.5553 GB, free: 6.504 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1339, allocations: 0 / 0.5553 GB, free: 6.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1339, allocations: 0 / 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.0006101/0.1345, allocations: 442.5 kB / 0.5557 GB, free: 6.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1346, allocations: 12.03 kB / 0.5557 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.1346, allocations: 30.75 kB / 0.5557 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1347, allocations: 12.84 kB / 0.5557 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.1349, allocations: 224.1 kB / 0.556 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.135, allocations: 4.375 kB / 0.556 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.135, allocations: 7.938 kB / 0.556 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1351, allocations: 57.61 kB / 0.556 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1351, allocations: 0 / 0.556 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1352, allocations: 0 / 0.556 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1352, allocations: 4 kB / 0.556 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.499e-05/0.1352, allocations: 19.98 kB / 0.5561 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.1356, allocations: 292.9 kB / 0.5563 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1358, allocations: 50.62 kB / 0.5564 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.68e-05/0.1359, allocations: 24.84 kB / 0.5564 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1359, allocations: 3.938 kB / 0.5564 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.136, allocations: 67.39 kB / 0.5565 GB, free: 5.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.136, allocations: 0 / 0.5565 GB, free: 5.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005513/0.1366, allocations: 185.3 kB / 0.5566 GB, free: 4.914 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.1366, allocations: 55.41 kB / 0.5567 GB, free: 4.848 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.1369, allocations: 227.3 kB / 0.5569 GB, free: 4.609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1369, allocations: 37.64 kB / 0.557 GB, free: 4.566 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.137, allocations: 108.1 kB / 0.5571 GB, free: 4.457 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.137, allocations: 19.86 kB / 0.5571 GB, free: 4.438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.137, allocations: 21.7 kB / 0.5571 GB, free: 4.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1372, allocations: 326.8 kB / 0.5574 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.1373, allocations: 16 kB / 0.5574 GB, free: 4.066 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.118e-05/0.1373, allocations: 41.64 kB / 0.5575 GB, free: 4.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1375, allocations: 61.7 kB / 0.5575 GB, free: 3.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1375, allocations: 0 / 0.5575 GB, free: 3.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002503/0.1377, allocations: 105.5 kB / 0.5576 GB, free: 3.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1377, allocations: 4 kB / 0.5576 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1377, allocations: 0 / 0.5576 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1377, allocations: 0 / 0.5576 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.1378, allocations: 16 kB / 0.5576 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1378, allocations: 0 / 0.5576 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.1379, allocations: 15.95 kB / 0.5577 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1379, allocations: 4.375 kB / 0.5577 GB, free: 3.805 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.0001167/0.138, allocations: 132 kB / 0.5578 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.138, allocations: 19.89 kB / 0.5578 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.1381, allocations: 17.39 kB / 0.5578 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1381, allocations: 0 / 0.5578 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1381, allocations: 4 kB / 0.5578 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1381, allocations: 7.938 kB / 0.5578 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.1386, allocations: 403.2 kB / 0.5582 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1386, allocations: 0 / 0.5582 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.1386, allocations: 8 kB / 0.5582 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1386, allocations: 3.938 kB / 0.5582 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1386, allocations: 8 kB / 0.5582 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1386, allocations: 3.984 kB / 0.5582 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1386, allocations: 0 / 0.5582 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1389, allocations: 208.4 kB / 0.5584 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.1389, allocations: 85.06 kB / 0.5585 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.139, allocations: 15.88 kB / 0.5585 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/0.139, allocations: 3.938 kB / 0.5585 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.1391, allocations: 7.984 kB / 0.5585 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1391, allocations: 4 kB / 0.5586 GB, free: 2.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.1393, allocations: 169.2 kB / 0.5587 GB, free: 2.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1393, allocations: 4 kB / 0.5587 GB, free: 2.613 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1395, allocations: 20 kB / 0.5587 GB, free: 2.594 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.002225/0.1417, allocations: 1.098 MB / 0.5598 GB, free: 1.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1419, allocations: 51.97 kB / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.1419, allocations: 4 kB / 0.5599 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.309e-05/0.142, allocations: 23.92 kB / 0.5599 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1423, allocations: 35.11 kB / 0.5599 GB, free: 1.547 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.1443, allocations: 1.723 MB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.1447, allocations: 0.7119 MB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.1448, allocations: 21.17 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.1448, allocations: 35.42 kB / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1448, allocations: 3.938 kB / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.1701, allocations: 3.584 MB / 0.5659 GB, free: 11.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.126, allocations: 5.031 kB / 0.5659 GB, free: 11.41 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.436863373965025]