Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.00172/0.00172, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001058/0.001058, allocations: 174.3 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.1/1.1, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1372/0.1372, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.968e-05, allocations: 6.281 kB / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004082/0.004112, allocations: 1.691 MB / 408.6 MB, free: 460 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.005487, allocations: 0.7843 MB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.375e-05/0.00558, allocations: 7.938 kB / 409.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.006001, allocations: 103.7 kB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.006309, allocations: 91.64 kB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.006563, allocations: 87.64 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.006771, allocations: 127.6 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.006893, allocations: 11.98 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.007006, allocations: 71.8 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.007112, allocations: 63.86 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.007134, allocations: 4 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.842e-05/0.007222, allocations: 43.92 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.007304, allocations: 35.84 kB / 410 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.007357, allocations: 31.86 kB / 410.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.007778, allocations: 139.5 kB / 410.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.007783, allocations: 3.938 kB / 410.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.007786, allocations: 4 kB / 410.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.007794, allocations: 0 / 410.2 MB, free: 14.84 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006549/0.008449, allocations: 369.3 kB / 410.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.008512, allocations: 12.03 kB / 410.6 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.008555, allocations: 34.73 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.008618, allocations: 20.84 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.008978, allocations: 165.2 kB / 410.8 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.008999, allocations: 8.375 kB / 410.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.009025, allocations: 4.375 kB / 410.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.009237, allocations: 73.97 kB / 410.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.009253, allocations: 0 / 410.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.009268, allocations: 7.938 kB / 410.9 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.009276, allocations: 0 / 410.9 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.009383, allocations: 35.97 kB / 410.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.009818, allocations: 279.9 kB / 411.2 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.009993, allocations: 78.77 kB / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.191e-05/0.01003, allocations: 28.84 kB / 411.3 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.01005, allocations: 0 / 411.3 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.0102, allocations: 83.36 kB / 411.4 MB, free: 13.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.522e-06/0.0102, allocations: 0 / 411.4 MB, free: 13.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005783/0.01078, allocations: 245.5 kB / 411.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.01082, allocations: 59.39 kB / 411.7 MB, free: 13.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.01102, allocations: 254.5 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.01104, allocations: 29.69 kB / 412 MB, free: 12.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.01111, allocations: 112.1 kB / 412.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.01115, allocations: 27.75 kB / 412.1 MB, free: 12.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.01118, allocations: 33.7 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.01128, allocations: 334.8 kB / 412.5 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.948e-05/0.01134, allocations: 31.92 kB / 412.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.0114, allocations: 53.69 kB / 412.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.0115, allocations: 85.7 kB / 412.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.0115, allocations: 0 / 412.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001675/0.01167, allocations: 141.4 kB / 412.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.01169, allocations: 8 kB / 412.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.01169, allocations: 4.031 kB / 412.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.01171, allocations: 3.938 kB / 412.8 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.503e-05/0.0118, allocations: 23.98 kB / 412.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.01181, allocations: 160 / 412.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.01184, allocations: 4 kB / 412.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.01185, allocations: 11.92 kB / 412.8 MB, free: 12.02 MB / 394.7 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 (13): * Single equations (assignments): 13 * 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.000102/0.01196, allocations: 137.8 kB / 413 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.01197, allocations: 19.89 kB / 413 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.01224, allocations: 163.4 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01225, allocations: 8 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.01225, allocations: 0 / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01226, allocations: 0 / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007757/0.01303, allocations: 438.2 kB / 413.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01304, allocations: 4 kB / 413.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.01309, allocations: 15.94 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.0131, allocations: 4 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.01311, allocations: 7.922 kB / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.01312, allocations: 0 / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.791e-05/0.01314, allocations: 4 kB / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.01352, allocations: 244.6 kB / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.01355, allocations: 19.91 kB / 413.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.01357, allocations: 7.875 kB / 413.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.418e-05/0.01363, allocations: 4 kB / 413.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.01368, allocations: 15.97 kB / 413.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.0137, allocations: 4 kB / 413.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.01383, allocations: 200 kB / 414.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01383, allocations: 0 / 414.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.01404, allocations: 27.94 kB / 414.1 MB, free: 10.64 MB / 394.7 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 (13): * Single equations (assignments): 11 * 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.001246/0.01529, allocations: 1.179 MB / 415.3 MB, free: 9.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.01547, allocations: 83.91 kB / 415.4 MB, free: 9.383 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01547, allocations: 0 / 415.4 MB, free: 9.383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.17e-05/0.01553, allocations: 51.97 kB / 415.4 MB, free: 9.332 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.0158, allocations: 27.98 kB / 415.5 MB, free: 9.305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.01757, allocations: 1.914 MB / 417.4 MB, free: 7.293 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.693e-05/0.01766, allocations: 108.9 kB / 417.5 MB, free: 7.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.633e-05/0.01772, allocations: 28.69 kB / 417.5 MB, free: 7.133 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.01778, allocations: 44.48 kB / 417.5 MB, free: 7.09 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01778, allocations: 0 / 417.5 MB, free: 7.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.03584, allocations: 4.796 MB / 422.3 MB, free: 2.152 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/7.467, allocations: 8.016 kB / 422.3 MB, free: 2.145 MB / 394.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.02704024873674]