Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.00107/0.00107, allocations: 79.7 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.001139/0.001139, allocations: 174 kB / 23.94 MB, free: 0.6172 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.9252/0.9252, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2702/0.2702, allocations: 34.25 MB / 294.9 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 442.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.594e-05, allocations: 2.281 kB / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.1989/0.1989, allocations: 1.704 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.2007, allocations: 1.676 MB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.2007, allocations: 0 / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.201, allocations: 41.94 kB / 445.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.2013, allocations: 101 kB / 445.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.2014, allocations: 79.36 kB / 445.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.2015, allocations: 116.7 kB / 446 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.2016, allocations: 2.875 kB / 446 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.674e-05/0.2017, allocations: 71.45 kB / 446.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.586e-05/0.2018, allocations: 35.45 kB / 446.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.2018, allocations: 7.5 kB / 446.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.202, allocations: 108.3 kB / 446.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.202, allocations: 25.2 kB / 446.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.202, allocations: 23.7 kB / 446.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.2023, allocations: 191 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2023, allocations: 0.5 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2023, allocations: 1.031 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2023, allocations: 0 / 446.4 MB, free: 42.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003953/0.2027, allocations: 369.6 kB / 446.8 MB, free: 42.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2027, allocations: 9.469 kB / 446.8 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.426e-05/0.2027, allocations: 40.94 kB / 446.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.2028, allocations: 7.734 kB / 446.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.203, allocations: 154.1 kB / 447 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.203, allocations: 3.188 kB / 447 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.203, allocations: 384 / 447 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.2031, allocations: 111.8 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2031, allocations: 0 / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2032, allocations: 6.375 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2032, allocations: 4.406 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.957e-05/0.2032, allocations: 33.41 kB / 447.2 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.2035, allocations: 272.3 kB / 447.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.2037, allocations: 71.45 kB / 447.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.2037, allocations: 27.44 kB / 447.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.2037, allocations: 8.562 kB / 447.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.2038, allocations: 76.72 kB / 447.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.2038, allocations: 0 / 447.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004495/0.2043, allocations: 207 kB / 447.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.2043, allocations: 83.67 kB / 447.9 MB, free: 41.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.2044, allocations: 188.9 kB / 448.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.2044, allocations: 25.7 kB / 448.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.2045, allocations: 101 kB / 448.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2045, allocations: 29.06 kB / 448.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.2045, allocations: 28.94 kB / 448.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.761e-05/0.2046, allocations: 324.4 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.631e-05/0.2046, allocations: 25.44 kB / 448.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.741e-05/0.2046, allocations: 82.36 kB / 448.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.849e-05/0.2047, allocations: 78.83 kB / 448.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2047, allocations: 3.938 kB / 448.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001113/0.2048, allocations: 114.8 kB / 448.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2048, allocations: 5.562 kB / 448.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2049, allocations: 2.594 kB / 448.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2049, allocations: 0 / 448.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.961e-05/0.2049, allocations: 20.61 kB / 448.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.331e-06/0.2049, allocations: 2.719 kB / 448.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.205, allocations: 6.078 kB / 448.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.205, allocations: 6.375 kB / 448.9 MB, free: 40.62 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 (11): * Single equations (assignments): 11 * 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 6.161e-05/0.205, allocations: 126.5 kB / 449 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.2051, allocations: 13.67 kB / 449 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.2052, allocations: 141.8 kB / 449.2 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2052, allocations: 2.938 kB / 449.2 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2052, allocations: 0 / 449.2 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2052, allocations: 0 / 449.2 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.2055, allocations: 405.5 kB / 449.6 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2055, allocations: 0 / 449.6 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.2055, allocations: 23.09 kB / 449.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2055, allocations: 0 / 449.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2056, allocations: 8.312 kB / 449.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2056, allocations: 0 / 449.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2056, allocations: 7 kB / 449.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.2057, allocations: 223 kB / 449.8 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.2057, allocations: 20.59 kB / 449.9 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.2057, allocations: 4 kB / 449.9 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.448e-05/0.2058, allocations: 2.75 kB / 449.9 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.2058, allocations: 19.8 kB / 449.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.2058, allocations: 10.88 kB / 449.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.093e-05/0.2059, allocations: 133.1 kB / 450 MB, free: 39.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2059, allocations: 288 / 450 MB, free: 39.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002106/0.2061, allocations: 50.3 kB / 450.1 MB, free: 39.78 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 (11): * Single equations (assignments): 9 * 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.001102/0.2072, allocations: 1.252 MB / 451.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.2073, allocations: 78.2 kB / 451.4 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2073, allocations: 0 / 451.4 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.2074, allocations: 33.16 kB / 451.4 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.2076, allocations: 37.8 kB / 451.5 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.2088, allocations: 1.705 MB / 453.2 MB, free: 37.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.064e-05/0.2089, allocations: 92.25 kB / 453.3 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.958e-05/0.2089, allocations: 26.55 kB / 453.3 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.209, allocations: 42.48 kB / 453.3 MB, free: 37.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.209, allocations: 3.938 kB / 453.3 MB, free: 37.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.2271, allocations: 5.109 MB / 458.5 MB, free: 35.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.905/7.132, allocations: 6.844 kB / 458.5 MB, free: 35.87 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.327867010608315]