Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.0008672/0.0008672, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0009769/0.0009769, allocations: 174.3 kB / 23.21 MB, free: 1.344 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.907/0.907, allocations: 158.6 MB / 185 MB, free: 3.043 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.134/0.134, allocations: 32.37 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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.552e-05, allocations: 2.281 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002862/0.002887, allocations: 1.687 MB / 408.6 MB, free: 468 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.004044, allocations: 0.7764 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.871e-05/0.004142, allocations: 0 / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004801/0.004622, allocations: 91.62 kB / 409.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.00495, allocations: 75.67 kB / 409.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.005279, allocations: 87.69 kB / 409.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.005522, allocations: 111.6 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.005662, allocations: 8.234 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.00578, allocations: 55.83 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.005891, allocations: 59.86 kB / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.005912, allocations: 4 kB / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.349e-05/0.006005, allocations: 43.91 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.006069, allocations: 31.86 kB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.006112, allocations: 15.94 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.0063, allocations: 119.5 kB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.006303, allocations: 0 / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.006304, allocations: 3.938 kB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.00631, allocations: 0 / 410.1 MB, free: 14.98 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.0005223/0.006832, allocations: 349.5 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.006875, allocations: 8.031 kB / 410.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.00691, allocations: 42.69 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.006948, allocations: 12.84 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.007162, allocations: 145.6 kB / 410.6 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.007175, allocations: 384 / 410.6 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.0072, allocations: 8.375 kB / 410.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.007342, allocations: 57.92 kB / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.007354, allocations: 0 / 410.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.007365, allocations: 4 kB / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.007372, allocations: 4 kB / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/0.007738, allocations: 19.97 kB / 410.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.008076, allocations: 263.9 kB / 411 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.0082, allocations: 58.62 kB / 411 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.864e-05/0.008239, allocations: 28.84 kB / 411.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.008255, allocations: 0 / 411.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.008387, allocations: 67.39 kB / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.008388, allocations: 0 / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004402/0.008828, allocations: 189.3 kB / 411.3 MB, free: 13.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.008862, allocations: 51.41 kB / 411.4 MB, free: 13.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.009009, allocations: 218.8 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.009022, allocations: 25.7 kB / 411.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.009074, allocations: 112.1 kB / 411.7 MB, free: 13.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.009101, allocations: 27.78 kB / 411.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.009131, allocations: 17.72 kB / 411.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.009219, allocations: 334.8 kB / 412.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.009255, allocations: 15.98 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.272e-05/0.009307, allocations: 41.64 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.49e-05/0.009382, allocations: 61.7 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.009383, allocations: 0 / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001203/0.009503, allocations: 109.5 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.009518, allocations: 11.98 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.009522, allocations: 160 / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.009535, allocations: 4 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.009602, allocations: 12.19 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.009608, allocations: 3.984 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.009637, allocations: 7.938 kB / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.009644, allocations: 7.922 kB / 412.4 MB, free: 12.5 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 7.633e-05/0.009721, allocations: 129.8 kB / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.009733, allocations: 15.89 kB / 412.5 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.009898, allocations: 123.1 kB / 412.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.0099, allocations: 0 / 412.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.009904, allocations: 0 / 412.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.009908, allocations: 4 kB / 412.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.0102, allocations: 378.3 kB / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.0102, allocations: 0 / 413 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.01023, allocations: 11.94 kB / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01023, allocations: 0 / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.01024, allocations: 4 kB / 413 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.01024, allocations: 4.359 kB / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01024, allocations: 7.969 kB / 413 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.01038, allocations: 212.2 kB / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.01039, allocations: 15.95 kB / 413.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.01041, allocations: 0 / 413.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.97e-05/0.01045, allocations: 7.984 kB / 413.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.01048, allocations: 7.938 kB / 413.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.01049, allocations: 11.98 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.547e-05/0.01058, allocations: 159.2 kB / 413.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01058, allocations: 0 / 413.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001811/0.01076, allocations: 27.94 kB / 413.4 MB, free: 11.31 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.0009655/0.01172, allocations: 1.137 MB / 414.6 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.01185, allocations: 55.91 kB / 414.6 MB, free: 10.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01185, allocations: 4.062 kB / 414.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.425e-05/0.01189, allocations: 35.92 kB / 414.7 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01212, allocations: 28.23 kB / 414.7 MB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.01332, allocations: 1.709 MB / 416.4 MB, free: 8.254 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.776e-05/0.01339, allocations: 92.8 kB / 416.5 MB, free: 8.141 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.877e-05/0.01343, allocations: 12.56 kB / 416.5 MB, free: 8.129 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.01348, allocations: 40.48 kB / 416.6 MB, free: 8.09 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01348, allocations: 0 / 416.6 MB, free: 8.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.02923, allocations: 4.31 MB / 420.9 MB, free: 3.648 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/6.955, allocations: 7.844 kB / 420.9 MB, free: 3.641 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.178742320276797]