Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.0008696/0.0008696, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0009136/0.0009136, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9414/0.9414, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2583/0.2583, allocations: 32.78 MB / 293.5 MB, free: 1.227 MB / 266.7 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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.528e-05, allocations: 2.281 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.00207/0.002085, allocations: 1.708 MB / 441.4 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.003153, allocations: 0.9808 MB / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.003228, allocations: 3.938 kB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.003497, allocations: 35.83 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.003774, allocations: 111.4 kB / 442.5 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.003913, allocations: 71.67 kB / 442.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.004055, allocations: 111.6 kB / 442.7 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.004141, allocations: 7.984 kB / 442.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.254e-05/0.004214, allocations: 51.89 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.004278, allocations: 27.91 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.004292, allocations: 4 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.004418, allocations: 47.86 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.004472, allocations: 23.92 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.004506, allocations: 23.91 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.004662, allocations: 119.6 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004664, allocations: 7.938 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004665, allocations: 0 / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.004669, allocations: 0 / 443 MB, free: 0.8203 MB / 410.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.0004111/0.00508, allocations: 349.5 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.005113, allocations: 8.031 kB / 443.3 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.005143, allocations: 38.67 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.005174, allocations: 12.89 kB / 443.4 MB, free: 392 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.005357, allocations: 161.5 kB / 443.6 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.005368, allocations: 384 / 443.6 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.005385, allocations: 4.375 kB / 443.6 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.005503, allocations: 65.92 kB / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.527e-06/0.005511, allocations: 0 / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.005519, allocations: 0 / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.005523, allocations: 0 / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.959e-05/0.005573, allocations: 19.98 kB / 443.6 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1948/0.2004, allocations: 263.1 kB / 443.9 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.2006, allocations: 54.45 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.2006, allocations: 21.08 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.2006, allocations: 4.094 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.2008, allocations: 70.34 kB / 444 MB, free: 46.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.856e-06/0.2008, allocations: 0 / 444 MB, free: 46.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004871/0.2013, allocations: 184.5 kB / 444.2 MB, free: 46.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.2013, allocations: 52.66 kB / 444.3 MB, free: 46.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.2015, allocations: 216.3 kB / 444.5 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.2015, allocations: 25.7 kB / 444.5 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.2015, allocations: 105.3 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.2016, allocations: 23.47 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.2016, allocations: 28.48 kB / 444.7 MB, free: 45.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.432e-05/0.2016, allocations: 327.1 kB / 445 MB, free: 45.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/0.2017, allocations: 21.14 kB / 445 MB, free: 45.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-05/0.2017, allocations: 34.89 kB / 445 MB, free: 45.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.49e-05/0.2018, allocations: 66.52 kB / 445.1 MB, free: 45.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2018, allocations: 3.562 kB / 445.1 MB, free: 45.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001565/0.202, allocations: 111.7 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.202, allocations: 8.641 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.202, allocations: 3.281 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.202, allocations: 2.75 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.2021, allocations: 13.41 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.2021, allocations: 3.203 kB / 445.3 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.2022, allocations: 9.531 kB / 445.3 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.2022, allocations: 6.531 kB / 445.3 MB, free: 45.52 MB / 410.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.088e-05/0.2023, allocations: 129.9 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.2023, allocations: 19.22 kB / 445.4 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.2025, allocations: 126.2 kB / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2025, allocations: 0 / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2025, allocations: 0 / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2025, allocations: 0 / 445.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.2029, allocations: 378.9 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.2029, allocations: 0 / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.2029, allocations: 8.969 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.2029, allocations: 2.281 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2029, allocations: 5.5 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2029, allocations: 0 / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.2029, allocations: 6.469 kB / 445.9 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.2031, allocations: 211.6 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.2031, allocations: 21.17 kB / 446.2 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.2031, allocations: 3.312 kB / 446.2 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.181e-05/0.2032, allocations: 2.969 kB / 446.2 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.2032, allocations: 6.141 kB / 446.2 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.2032, allocations: 10.97 kB / 446.2 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.551e-05/0.2033, allocations: 157.9 kB / 446.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2033, allocations: 0.6562 kB / 446.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001922/0.2035, allocations: 27.23 kB / 446.4 MB, free: 44.81 MB / 410.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.001074/0.2046, allocations: 1.133 MB / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.2047, allocations: 66.03 kB / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2047, allocations: 0 / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.2048, allocations: 27.36 kB / 447.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.205, allocations: 32.92 kB / 447.6 MB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.2062, allocations: 1.714 MB / 449.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.475e-05/0.2062, allocations: 102.6 kB / 449.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.689e-05/0.2063, allocations: 26.64 kB / 449.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.2063, allocations: 36.23 kB / 449.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2063, allocations: 2.531 kB / 449.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.2247, allocations: 4.339 MB / 453.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/7.094, allocations: 3.875 kB / 453.8 MB, free: 41.14 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.265428679995239]