Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001012/0.001012, allocations: 88.27 kB / 20.77 MB, free: 3.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 160.9 kB / 24.06 MB, free: 476 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.938/0.938, allocations: 177 MB / 204.2 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2684/0.2684, allocations: 34.24 MB / 295 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 442.5 MB, free: 1.355 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.658e-05, allocations: 6.281 kB / 442.5 MB, free: 1.348 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.1945/0.1945, allocations: 1.718 MB / 444.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1956, allocations: 0.9794 MB / 445.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.492e-05/0.1957, allocations: 3.562 kB / 445.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.196, allocations: 94.84 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.1962, allocations: 122.1 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.1964, allocations: 83.45 kB / 445.5 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1965, allocations: 119.2 kB / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.1966, allocations: 13.17 kB / 445.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.032e-05/0.1967, allocations: 71.48 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.1968, allocations: 68.28 kB / 445.7 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1968, allocations: 2.625 kB / 445.7 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-05/0.1969, allocations: 59.5 kB / 445.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.1969, allocations: 31.41 kB / 445.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.197, allocations: 22.98 kB / 445.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1971, allocations: 138.3 kB / 446 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1971, allocations: 0 / 446 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1972, allocations: 3.312 kB / 446 MB, free: 42.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1972, allocations: 0 / 446 MB, free: 42.78 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000393/0.1975, allocations: 369.4 kB / 446.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1976, allocations: 8.562 kB / 446.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.407e-05/0.1976, allocations: 37.72 kB / 446.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.1976, allocations: 19.02 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.1979, allocations: 160.9 kB / 446.6 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1979, allocations: 3.062 kB / 446.6 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.1979, allocations: 7 kB / 446.6 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.198, allocations: 64.05 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.198, allocations: 4.141 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.198, allocations: 4.125 kB / 446.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.198, allocations: 0 / 446.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.19e-05/0.1981, allocations: 32.02 kB / 446.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.1984, allocations: 266.7 kB / 446.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1985, allocations: 67.78 kB / 447 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.1986, allocations: 23.38 kB / 447 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.1986, allocations: 3.938 kB / 447 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/0.1987, allocations: 72.17 kB / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1987, allocations: 0 / 447.1 MB, free: 41.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005282/0.1992, allocations: 255.5 kB / 447.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.1993, allocations: 57.56 kB / 447.4 MB, free: 41.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1994, allocations: 233.9 kB / 447.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.1994, allocations: 29.33 kB / 447.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.1994, allocations: 111.1 kB / 447.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.1995, allocations: 36.89 kB / 447.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.1995, allocations: 27.59 kB / 447.8 MB, free: 41.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.072e-05/0.1995, allocations: 330.9 kB / 448.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.1996, allocations: 30.45 kB / 448.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.1996, allocations: 55.19 kB / 448.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.225e-05/0.1997, allocations: 83.84 kB / 448.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1997, allocations: 0 / 448.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001297/0.1998, allocations: 130.1 kB / 448.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1998, allocations: 5.406 kB / 448.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1998, allocations: 0 / 448.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1999, allocations: 2.469 kB / 448.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.1999, allocations: 24.2 kB / 448.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1999, allocations: 0 / 448.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/0.2, allocations: 7 kB / 448.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.2, allocations: 2.844 kB / 448.5 MB, free: 41.07 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 (13): * Single equations (assignments): 13 * 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.477e-05/0.2, allocations: 139.4 kB / 448.6 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.2, allocations: 20.8 kB / 448.7 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.2002, allocations: 157.7 kB / 448.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2002, allocations: 2.906 kB / 448.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2002, allocations: 3.188 kB / 448.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2002, allocations: 0 / 448.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.2005, allocations: 433.3 kB / 449.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2005, allocations: 0 / 449.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.2006, allocations: 14.28 kB / 449.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2006, allocations: 3.094 kB / 449.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.2006, allocations: 9.609 kB / 449.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2006, allocations: 11.12 kB / 449.3 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2006, allocations: 0 / 449.3 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.2007, allocations: 234.5 kB / 449.5 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.2007, allocations: 15.36 kB / 449.5 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.2007, allocations: 10 kB / 449.5 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.107e-05/0.2008, allocations: 10.78 kB / 449.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.2008, allocations: 8.984 kB / 449.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.2008, allocations: 10.08 kB / 449.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.2009, allocations: 171.3 kB / 449.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2009, allocations: 3.938 kB / 449.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.2011, allocations: 38 kB / 449.8 MB, free: 40.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001024/0.2021, allocations: 1.211 MB / 451 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.2023, allocations: 87.72 kB / 451.1 MB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2023, allocations: 0 / 451.1 MB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.849e-05/0.2024, allocations: 38.09 kB / 451.1 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.2027, allocations: 32.45 kB / 451.1 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.204, allocations: 1.859 MB / 453 MB, free: 37.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.53e-05/0.2041, allocations: 103.1 kB / 453.1 MB, free: 37.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.195e-05/0.2042, allocations: 19.88 kB / 453.1 MB, free: 37.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.2042, allocations: 50.47 kB / 453.2 MB, free: 37.74 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2042, allocations: 0 / 453.2 MB, free: 37.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.2209, allocations: 4.769 MB / 457.9 MB, free: 36.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.892/7.113, allocations: 0 / 457.9 MB, free: 36.27 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.33241974376142]