Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001394/0.001394, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001405/0.001405, allocations: 209.6 kB / 20.75 MB, free: 2.293 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.493/1.493, 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.2189/0.2189, 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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.00201/0.00201, allocations: 63.89 kB / 499.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.121, allocations: 65.43 MB / 0.5518 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003067/0.124, allocations: 1.727 MB / 0.5535 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1257, allocations: 1.027 MB / 0.5545 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.1258, allocations: 3.938 kB / 0.5545 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.126, allocations: 51.77 kB / 0.5546 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.1263, allocations: 107.5 kB / 0.5547 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.1265, allocations: 71.69 kB / 0.5548 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1267, allocations: 107.7 kB / 0.5549 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.516e-05/0.1268, allocations: 8.281 kB / 0.5549 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.454e-05/0.1269, allocations: 51.72 kB / 0.5549 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.1269, allocations: 31.84 kB / 0.555 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.127, allocations: 4 kB / 0.555 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.235e-05/0.1271, allocations: 51.92 kB / 0.555 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.1271, allocations: 23.91 kB / 0.555 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.1272, allocations: 47.67 kB / 0.5551 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1274, allocations: 123.4 kB / 0.5552 GB, free: 6.602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1274, allocations: 3.984 kB / 0.5552 GB, free: 6.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1274, allocations: 0 / 0.5552 GB, free: 6.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1274, allocations: 0 / 0.5552 GB, free: 6.598 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.0006235/0.128, allocations: 434.6 kB / 0.5556 GB, free: 6.125 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.128, allocations: 8.031 kB / 0.5556 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.1281, allocations: 38.75 kB / 0.5557 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.1281, allocations: 12.89 kB / 0.5557 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.1284, allocations: 220.9 kB / 0.5559 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1284, allocations: 8.375 kB / 0.5559 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.1284, allocations: 7.875 kB / 0.5559 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.1286, allocations: 53.67 kB / 0.5559 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1286, allocations: 0 / 0.5559 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1287, allocations: 4 kB / 0.5559 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.1287, allocations: 0 / 0.5559 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.581e-05/0.1287, allocations: 15.98 kB / 0.556 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.1291, allocations: 312.7 kB / 0.5563 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1293, allocations: 50.67 kB / 0.5563 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.1293, allocations: 16.86 kB / 0.5563 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1293, allocations: 0 / 0.5563 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.1295, allocations: 75.33 kB / 0.5564 GB, free: 5.188 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.1295, allocations: 0 / 0.5564 GB, free: 5.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005276/0.13, allocations: 169.4 kB / 0.5566 GB, free: 5.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1301, allocations: 59.34 kB / 0.5566 GB, free: 4.945 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.1303, allocations: 238 kB / 0.5568 GB, free: 4.703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1304, allocations: 29.7 kB / 0.5569 GB, free: 4.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.1304, allocations: 116.1 kB / 0.557 GB, free: 4.551 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.1305, allocations: 31.77 kB / 0.557 GB, free: 4.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.1305, allocations: 17.72 kB / 0.557 GB, free: 4.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1306, allocations: 326.8 kB / 0.5573 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-05/0.1307, allocations: 19.98 kB / 0.5574 GB, free: 4.148 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.982e-05/0.1308, allocations: 41.64 kB / 0.5574 GB, free: 4.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.1309, allocations: 69.7 kB / 0.5575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1309, allocations: 0 / 0.5575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.1311, allocations: 101.6 kB / 0.5576 GB, free: 3.922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1311, allocations: 4 kB / 0.5576 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1311, allocations: 0 / 0.5576 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1311, allocations: 4 kB / 0.5576 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.207e-05/0.1312, allocations: 19.92 kB / 0.5576 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1312, allocations: 0 / 0.5576 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.1313, allocations: 7.938 kB / 0.5576 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1313, allocations: 416 / 0.5576 GB, free: 3.887 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.0001147/0.1314, allocations: 136 kB / 0.5577 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.1314, allocations: 15.91 kB / 0.5577 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.1315, allocations: 21.39 kB / 0.5578 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1315, allocations: 0 / 0.5578 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1315, allocations: 7.938 kB / 0.5578 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1315, allocations: 3.938 kB / 0.5578 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.132, allocations: 407.3 kB / 0.5582 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.132, allocations: 0 / 0.5582 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.132, allocations: 8 kB / 0.5582 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.132, allocations: 3.938 kB / 0.5582 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.132, allocations: 0 / 0.5582 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.132, allocations: 7.938 kB / 0.5582 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.132, allocations: 0 / 0.5582 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.1323, allocations: 212.3 kB / 0.5584 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.1323, allocations: 89.02 kB / 0.5585 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.1324, allocations: 3.938 kB / 0.5585 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.1324, allocations: 4 kB / 0.5585 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1325, allocations: 11.98 kB / 0.5585 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.1325, allocations: 4 kB / 0.5585 GB, free: 2.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.1326, allocations: 172.4 kB / 0.5587 GB, free: 2.691 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1326, allocations: 0 / 0.5587 GB, free: 2.691 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1329, allocations: 23.94 kB / 0.5587 GB, free: 2.668 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.00217/0.1351, allocations: 1.114 MB / 0.5598 GB, free: 1.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1353, allocations: 51.92 kB / 0.5598 GB, free: 1.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1353, allocations: 0 / 0.5598 GB, free: 1.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.052e-05/0.1353, allocations: 23.98 kB / 0.5598 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.1357, allocations: 37.3 kB / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.1377, allocations: 1.758 MB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.138, allocations: 0.7119 MB / 0.5623 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.12e-05/0.1381, allocations: 12.88 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.1382, allocations: 43.42 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1382, allocations: 4 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.163, allocations: 3.652 MB / 0.5659 GB, free: 11.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.299, allocations: 8.062 kB / 0.5659 GB, free: 11.36 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.44680003495887]