Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.0009995/0.0009995, allocations: 75.7 kB / 20.01 MB, free: 4.5 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.00114/0.00114, allocations: 169.9 kB / 23.31 MB, free: 1.203 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.8446/0.8446, allocations: 158.6 MB / 185.1 MB, free: 3.008 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.1329/0.1329, allocations: 32.37 MB / 269.7 MB, free: 14.91 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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 407.1 MB, free: 2.059 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.501e-05, allocations: 5.938 kB / 407.1 MB, free: 2.055 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002315/0.00233, allocations: 1.691 MB / 408.8 MB, free: 356 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009093/0.003239, allocations: 0.7765 MB / 409.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.003309, allocations: 0 / 409.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.003586, allocations: 63.69 kB / 409.7 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.003761, allocations: 59.62 kB / 409.7 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.003939, allocations: 91.69 kB / 409.8 MB, free: 15.35 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.004066, allocations: 91.7 kB / 409.9 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.818e-05/0.004145, allocations: 8.172 kB / 409.9 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.004214, allocations: 55.88 kB / 410 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.004276, allocations: 23.92 kB / 410 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.004293, allocations: 4 kB / 410 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-05/0.004361, allocations: 47.91 kB / 410 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.004408, allocations: 27.86 kB / 410.1 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.004446, allocations: 23.86 kB / 410.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.004602, allocations: 135.5 kB / 410.2 MB, free: 14.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004604, allocations: 0 / 410.2 MB, free: 14.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004605, allocations: 0 / 410.2 MB, free: 14.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.004608, allocations: 0 / 410.2 MB, free: 14.94 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.0003932/0.005001, allocations: 373.3 kB / 410.6 MB, free: 14.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.005035, allocations: 12.03 kB / 410.6 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.489e-05/0.005059, allocations: 34.75 kB / 410.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.005088, allocations: 12.84 kB / 410.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.005254, allocations: 166.5 kB / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.005266, allocations: 4.375 kB / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.005283, allocations: 384 / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.005391, allocations: 57.98 kB / 410.9 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.0054, allocations: 3.938 kB / 410.9 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.005407, allocations: 4 kB / 410.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.005412, allocations: 0 / 410.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.777e-05/0.00546, allocations: 19.98 kB / 410.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.005839, allocations: 271.9 kB / 411.2 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.005955, allocations: 62.61 kB / 411.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.005986, allocations: 16.86 kB / 411.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.005998, allocations: 0 / 411.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.006102, allocations: 75.38 kB / 411.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.006103, allocations: 0 / 411.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003792/0.006482, allocations: 193.2 kB / 411.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.00651, allocations: 59.41 kB / 411.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.006683, allocations: 271.9 kB / 411.8 MB, free: 13.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.006694, allocations: 25.7 kB / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.006742, allocations: 112.1 kB / 412 MB, free: 13.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.006765, allocations: 31.77 kB / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.006795, allocations: 25.72 kB / 412 MB, free: 12.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.006873, allocations: 330.8 kB / 412.3 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.006907, allocations: 20 kB / 412.4 MB, free: 12.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.083e-05/0.006948, allocations: 33.7 kB / 412.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.082e-05/0.007019, allocations: 69.64 kB / 412.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.00702, allocations: 0 / 412.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001145/0.007135, allocations: 109.6 kB / 412.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.007147, allocations: 8 kB / 412.6 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.007151, allocations: 4.016 kB / 412.6 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.007164, allocations: 3.984 kB / 412.6 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.007226, allocations: 19.98 kB / 412.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.007231, allocations: 3.984 kB / 412.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/0.007259, allocations: 0 / 412.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.007265, allocations: 4 kB / 412.6 MB, free: 12.34 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.35e-05/0.007339, allocations: 141.8 kB / 412.7 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.007353, allocations: 19.86 kB / 412.8 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.007509, allocations: 131 kB / 412.9 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.007511, allocations: 0 / 412.9 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.007515, allocations: 0 / 412.9 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.007517, allocations: 0 / 412.9 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.0078, allocations: 382.4 kB / 413.3 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007801, allocations: 0 / 413.3 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.007823, allocations: 15.92 kB / 413.3 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.007824, allocations: 4.031 kB / 413.3 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.007831, allocations: 4 kB / 413.3 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007832, allocations: 0 / 413.3 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007834, allocations: 4.312 kB / 413.3 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.007963, allocations: 216.2 kB / 413.5 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.007975, allocations: 11.91 kB / 413.5 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.007992, allocations: 11.98 kB / 413.5 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.00803, allocations: 4 kB / 413.5 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.008058, allocations: 7.922 kB / 413.5 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.008067, allocations: 4 kB / 413.5 MB, free: 11.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.008176, allocations: 221.4 kB / 413.8 MB, free: 11.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008176, allocations: 0 / 413.8 MB, free: 11.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.008343, allocations: 27.94 kB / 413.8 MB, free: 11.07 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.001083/0.009427, allocations: 1.131 MB / 414.9 MB, free: 9.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.009556, allocations: 55.92 kB / 415 MB, free: 9.898 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.009557, allocations: 0 / 415 MB, free: 9.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.289e-05/0.0096, allocations: 31.92 kB / 415 MB, free: 9.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.009822, allocations: 43.94 kB / 415 MB, free: 9.824 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.01107, allocations: 1.86 MB / 416.9 MB, free: 7.867 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.515e-05/0.01114, allocations: 105.1 kB / 417 MB, free: 7.746 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.856e-05/0.01117, allocations: 8.5 kB / 417 MB, free: 7.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.01123, allocations: 48.47 kB / 417.1 MB, free: 7.691 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01123, allocations: 0 / 417.1 MB, free: 7.691 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.02682, allocations: 4.566 MB / 421.6 MB, free: 2.973 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/6.842, allocations: 11.78 kB / 421.6 MB, free: 2.961 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00049781 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.915917804464698]