Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001254/0.001254, allocations: 119.9 kB / 18.45 MB, free: 4.637 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.001176/0.001176, allocations: 190 kB / 21.39 MB, free: 1.699 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.418/1.418, allocations: 222.9 MB / 247.1 MB, free: 4.195 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.362/0.362, allocations: 44.23 MB / 343.5 MB, free: 7.598 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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 73.86 kB / 478.9 MB, free: 24.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1207, allocations: 60.81 MB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003387/0.1242, allocations: 1.705 MB / 0.5287 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1259, allocations: 0.8808 MB / 0.5296 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.126, allocations: 0 / 0.5296 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1263, allocations: 87.75 kB / 0.5297 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.1266, allocations: 71.67 kB / 0.5298 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.1269, allocations: 115.6 kB / 0.5299 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.1271, allocations: 107.6 kB / 0.53 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1272, allocations: 12.5 kB / 0.53 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1274, allocations: 59.75 kB / 0.53 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1275, allocations: 55.83 kB / 0.5301 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.1275, allocations: 4 kB / 0.5301 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1277, allocations: 35.98 kB / 0.5301 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.1277, allocations: 23.92 kB / 0.5301 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.1278, allocations: 39.72 kB / 0.5302 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.128, allocations: 123.4 kB / 0.5303 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.128, allocations: 0 / 0.5303 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.128, allocations: 4 kB / 0.5303 GB, free: 10.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1281, allocations: 0 / 0.5303 GB, free: 10.38 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.0007523/0.1288, allocations: 422.7 kB / 0.5307 GB, free: 9.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1289, allocations: 12.03 kB / 0.5307 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.1289, allocations: 34.75 kB / 0.5308 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.129, allocations: 12.84 kB / 0.5308 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.1293, allocations: 204.2 kB / 0.531 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1293, allocations: 4.375 kB / 0.531 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.1293, allocations: 11.89 kB / 0.531 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1295, allocations: 61.55 kB / 0.531 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1295, allocations: 8 kB / 0.531 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1295, allocations: 4 kB / 0.531 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1295, allocations: 0 / 0.531 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.626e-05/0.1296, allocations: 19.98 kB / 0.5311 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.1301, allocations: 288.9 kB / 0.5313 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.1303, allocations: 58.62 kB / 0.5314 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.999e-05/0.1304, allocations: 24.84 kB / 0.5314 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1305, allocations: 0 / 0.5314 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.1307, allocations: 67.39 kB / 0.5315 GB, free: 8.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.1307, allocations: 0 / 0.5315 GB, free: 8.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005939/0.1313, allocations: 177.3 kB / 0.5317 GB, free: 8.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1314, allocations: 55.41 kB / 0.5317 GB, free: 8.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.1316, allocations: 212.3 kB / 0.5319 GB, free: 8.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1316, allocations: 29.7 kB / 0.5319 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.1317, allocations: 104.1 kB / 0.532 GB, free: 8.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.1317, allocations: 27.78 kB / 0.5321 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.1318, allocations: 21.72 kB / 0.5321 GB, free: 8.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1319, allocations: 322.8 kB / 0.5324 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.132, allocations: 23.98 kB / 0.5324 GB, free: 7.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.054e-05/0.1321, allocations: 45.58 kB / 0.5325 GB, free: 7.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1322, allocations: 57.7 kB / 0.5325 GB, free: 7.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1322, allocations: 0 / 0.5325 GB, free: 7.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002534/0.1325, allocations: 105.5 kB / 0.5326 GB, free: 7.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1325, allocations: 8 kB / 0.5326 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1325, allocations: 0 / 0.5326 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1325, allocations: 0 / 0.5326 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1327, allocations: 20.02 kB / 0.5326 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1327, allocations: 4 kB / 0.5326 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.1327, allocations: 3.938 kB / 0.5326 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1327, allocations: 8 kB / 0.5327 GB, free: 7.723 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.0001191/0.1329, allocations: 129.8 kB / 0.5328 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.1329, allocations: 11.91 kB / 0.5328 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.133, allocations: 21.39 kB / 0.5328 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.133, allocations: 384 / 0.5328 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.133, allocations: 0 / 0.5328 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1331, allocations: 11.88 kB / 0.5328 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.1336, allocations: 395.3 kB / 0.5332 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1336, allocations: 0 / 0.5332 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.1337, allocations: 8 kB / 0.5332 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.1337, allocations: 3.938 kB / 0.5332 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.1337, allocations: 11.98 kB / 0.5332 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1337, allocations: 240 / 0.5332 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1337, allocations: 0 / 0.5332 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.134, allocations: 212.2 kB / 0.5334 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.1341, allocations: 89.06 kB / 0.5335 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1341, allocations: 7.938 kB / 0.5335 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.1342, allocations: 3.984 kB / 0.5335 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1342, allocations: 4 kB / 0.5335 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1342, allocations: 4 kB / 0.5335 GB, free: 6.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002489/0.1345, allocations: 167.5 kB / 0.5337 GB, free: 6.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1345, allocations: 0 / 0.5337 GB, free: 6.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1347, allocations: 23.98 kB / 0.5337 GB, free: 6.527 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.002176/0.1369, allocations: 1.104 MB / 0.5348 GB, free: 5.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.1372, allocations: 63.95 kB / 0.5349 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1372, allocations: 0 / 0.5349 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1373, allocations: 27.92 kB / 0.5349 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1377, allocations: 35.09 kB / 0.5349 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.1397, allocations: 1.685 MB / 0.5366 GB, free: 3.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.14, allocations: 0.708 MB / 0.5372 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.1401, allocations: 24.48 kB / 0.5373 GB, free: 2.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.1402, allocations: 35.42 kB / 0.5373 GB, free: 2.914 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1402, allocations: 0 / 0.5373 GB, free: 2.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.1702, allocations: 3.477 MB / 0.5407 GB, free: 15.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.023, allocations: 12.03 kB / 0.5407 GB, free: 15.5 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.099903506110422]