Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.0006864/0.0006864, allocations: 80.44 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.00125/0.00125, allocations: 169.9 kB / 23.21 MB, free: 1.348 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 0.8692/0.8692, allocations: 158.6 MB / 185 MB, free: 3.027 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.1342/0.1342, allocations: 32.38 MB / 269.6 MB, free: 14.96 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.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.283e-05, allocations: 6.078 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002313/0.002336, allocations: 1.688 MB / 408.6 MB, free: 468 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.003374, allocations: 0.7842 MB / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.343e-05/0.003447, allocations: 0 / 409.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.003766, allocations: 55.75 kB / 409.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.003991, allocations: 63.62 kB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.004222, allocations: 95.69 kB / 409.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.004382, allocations: 87.7 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.004472, allocations: 8.234 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.021e-05/0.004562, allocations: 63.75 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.00463, allocations: 19.92 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.004648, allocations: 4 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.353e-05/0.004731, allocations: 43.92 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.004788, allocations: 35.84 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.004826, allocations: 15.94 kB / 409.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.005003, allocations: 127.5 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005006, allocations: 0 / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005007, allocations: 7.875 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.005011, allocations: 0 / 410 MB, free: 15.05 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004245/0.005436, allocations: 369.4 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.005476, allocations: 12.03 kB / 410.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.005511, allocations: 34.75 kB / 410.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.005547, allocations: 12.84 kB / 410.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.005759, allocations: 161.2 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.005771, allocations: 384 / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.005788, allocations: 4.375 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.005916, allocations: 57.98 kB / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.005926, allocations: 0 / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.005938, allocations: 7.984 kB / 410.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.005943, allocations: 3.938 kB / 410.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.206e-05/0.005995, allocations: 23.98 kB / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.006431, allocations: 260 kB / 410.9 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.006544, allocations: 58.67 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.006578, allocations: 24.78 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.006592, allocations: 4 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.00671, allocations: 63.39 kB / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.006711, allocations: 3.938 kB / 411.1 MB, free: 13.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004119/0.007123, allocations: 197.3 kB / 411.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.007154, allocations: 51.41 kB / 411.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.007321, allocations: 263.5 kB / 411.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.007335, allocations: 29.7 kB / 411.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.007383, allocations: 108.1 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.007414, allocations: 27.78 kB / 411.7 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.007446, allocations: 25.72 kB / 411.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.007525, allocations: 330.8 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.735e-05/0.007562, allocations: 20 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.334e-05/0.007605, allocations: 37.7 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.578e-05/0.007681, allocations: 70 kB / 412.2 MB, free: 12.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.007682, allocations: 0 / 412.2 MB, free: 12.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000132/0.007814, allocations: 113.5 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.007827, allocations: 4 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.007834, allocations: 4.156 kB / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.007847, allocations: 0 / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.007914, allocations: 20.17 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.007919, allocations: 3.984 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.934e-05/0.007949, allocations: 7.891 kB / 412.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.007955, allocations: 8.031 kB / 412.4 MB, free: 12.46 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 (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 8.466e-05/0.008039, allocations: 141.8 kB / 412.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.008052, allocations: 15.91 kB / 412.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.008212, allocations: 127.1 kB / 412.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008214, allocations: 0 / 412.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.008219, allocations: 3.984 kB / 412.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.008222, allocations: 0 / 412.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.008525, allocations: 378.4 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.008527, allocations: 32 / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.008552, allocations: 15.94 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.008554, allocations: 4 kB / 413 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.008563, allocations: 3.984 kB / 413.1 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.008565, allocations: 0 / 413.1 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.008568, allocations: 7.938 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.008703, allocations: 212.2 kB / 413.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.008715, allocations: 11.91 kB / 413.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.008732, allocations: 11.92 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.815e-05/0.00877, allocations: 4 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.008804, allocations: 11.92 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.008817, allocations: 8 kB / 413.3 MB, free: 11.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.008926, allocations: 199.3 kB / 413.5 MB, free: 11.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008926, allocations: 0 / 413.5 MB, free: 11.24 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.009111, allocations: 27.92 kB / 413.5 MB, free: 11.21 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 (9): * Single equations (assignments): 7 * 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.001306/0.01042, allocations: 1.132 MB / 414.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.01055, allocations: 55.91 kB / 414.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01055, allocations: 0 / 414.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.654e-05/0.0106, allocations: 35.92 kB / 414.8 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.01084, allocations: 36.02 kB / 414.8 MB, free: 9.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.01228, allocations: 1.833 MB / 416.6 MB, free: 8.035 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.347e-05/0.01235, allocations: 105.8 kB / 416.7 MB, free: 7.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.774e-05/0.0124, allocations: 12.48 kB / 416.7 MB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.01246, allocations: 40.48 kB / 416.8 MB, free: 7.855 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01246, allocations: 0 / 416.8 MB, free: 7.855 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.03135, allocations: 4.538 MB / 421.3 MB, free: 3.184 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.095, allocations: 11.84 kB / 421.3 MB, free: 3.172 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.209794172085822]